aboutsummaryrefslogtreecommitdiffstats
path: root/gen_tests.sh
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2024-07-08 20:06:01 -0400
committerGravatar Peter McGoron 2024-07-08 20:06:01 -0400
commita406b64975efbc230a3f154a641bb3bad635717d (patch)
treee155535dc93ea9c6800e4c11ef09d040b5958927 /gen_tests.sh
parentMajor API reorganization, test infrastructure (diff)
fix clean
Diffstat (limited to 'gen_tests.sh')
-rwxr-xr-xgen_tests.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/gen_tests.sh b/gen_tests.sh
index 4980f27..bccad2c 100755
--- a/gen_tests.sh
+++ b/gen_tests.sh
@@ -55,11 +55,13 @@ gen_hashtable_test() {
}
gen_tests() {
+ echo "examples/test_$1.o: include/uns.h $2"
+ GENERATED_OBJS="$GENERATED_OBJS examples/test_$1.o"
gen_string_test "$1" '${CHENEY_C89_OBJS}'
gen_hashtable_test "$1" '${CHENEY_C89_OBJS}'
}
-gen_tests cheney_c89
+gen_tests cheney_c89 "include/cheney_c89.h"
printf "tests: %s\n" "$TEST_TARGETS"
-printf 'clean_tests: %s\n\t${RM} -f %s %s\n' "$TEST_TARGETS" "$GENERATED_OBJS"
+printf 'clean_tests:\n\t${RM} -f %s %s\n' "$TEST_TARGETS" "$GENERATED_OBJS"