Add test_*_enabled to enable/disable tests

This commit is contained in:
Pim van Pelt
2019-01-03 21:37:58 +01:00
parent 031bd34655
commit 62ce68f2e0
4 changed files with 23 additions and 3 deletions

View File

@ -120,7 +120,7 @@ gen_src_head
for f in tests/*.c; do
base=$(basename $f | cut -f1 -d'.')
echo "CHK $base in $f"
base_list="$base_list $base"
egrep -q "test_${base}_enabled.*true" $f && base_list="$base_list $base"
done
gen_inc_body $base_list