summaryrefslogtreecommitdiffstats
path: root/test/test_data_parser.sh
blob: 26f8163f40430106719332321ec0f26bf3c3b947 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/bash

for fn in ${top_srcdir}/test/datafile_simple.*; do
    run_test ./drive_data_scanner $fn
    on_error_fail_with "$fn does not match"
done

for fn in ${top_srcdir}/test/datafile_xml.*; do
    run_test ./drive_data_scanner -P $fn
    on_error_fail_with "$fn does not match"
done

for fn in ${top_srcdir}/test/log-samples/*.txt; do
    run_test ./drive_data_scanner -l $fn
    on_error_fail_with "$fn does not match"
done