diff options
Diffstat (limited to 'test/parser/run-parser-tests.in')
-rwxr-xr-x | test/parser/run-parser-tests.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/parser/run-parser-tests.in b/test/parser/run-parser-tests.in new file mode 100755 index 0000000..4c4c2be --- /dev/null +++ b/test/parser/run-parser-tests.in @@ -0,0 +1,15 @@ +#!/bin/bash + +test="@abs_builddir@/parser-test" +data_dir="@abs_srcdir@/data" +mnt_dir="@prefix@/var/petitboot/mnt" + +dirs=$(ls ${data_dir}) + +mkdir -p ${mnt_dir} +ln -s ${data_dir} ${mnt_dir}/ + +for d in ${dirs}; do + echo "##### running parser test in ${d} #####" + ${test} data ${d} +done |