echo "Results: $${passed} tests passed; $${failed} tests failed."; \
if [ $${failed} -ne 0 ]; then \
echo -e "Failed tests: $${failed_tests}"; \
exit -1; \
fi
-1 is an invalid argument for exit. From the POSIX spec:
The exit utility shall cause the shell to exit from its current
execution environment with the exit status specified by the
unsigned decimal integer n.
tests/Makefile.am
contains this rule:-1
is an invalid argument forexit
. From the POSIX spec:Please use a positive number.