coverage/oceani.mdc.gcov
@rm -f .tmp*
- @for T in $(oceani_tests); do \
+ @[ -n "$$SKIP_VALGRIND" ] || for T in $(oceani_tests); do \
echo -n "Valgrind $$T.. "; \
i="$$IFS"; IFS=,; set $$T; IFS="$$i"; t=$$1; shift; \
if ! valgrind --error-exitcode=1 --log-file=.tmp.valg ./oceani --section "test: $$t" oceani-tests.mdc $${1+"$$@"} \
oceani: type error in program - not running.
###### test list
- oceani_failing_tests += type_err_const type_err_const1
+ oceani_failing_tests += type_err_const type_err_const1 missing_program
###### test: type_err_const
const
.tmp.code:3:12: Syntax error in constant: :
.tmp.code:4:12: Syntax error in constant: :
+###### test: missing_program
+ const
+ foo::="bar"
+
+###### output: missing_program
+ oceani: no program found.
+
## Test erroneous command line args
To improve coverage, we want to test correct handling of strange command