Skip to content

Commit

Permalink
Merge pull request #144 from nckx/fatal-test-failures
Browse files Browse the repository at this point in the history
tests: Don't ignore failures
  • Loading branch information
masatake committed Nov 23, 2020
2 parents 379a813 + a36e87d commit c097e42
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ all: ${CKTSTDB} ${BASTST} ${STDTST} FRC
exit 1 ;\
fi
@rm -f config.LT*
-@err=0; \
@err=0; \
echo ""; \
echo "Basic test:"; \
./${BASTST}; \
Expand All @@ -54,8 +54,11 @@ all: ${CKTSTDB} ${BASTST} ${STDTST} FRC
echo "Suggestion: try the optional tests: \"make opt\""; \
echo ""; \
fi; \
fi;
@rm -f config.LT*
fi; \
rm -f config.LT*; \
if [ $$err -ne 0 ]; then \
exit 1; \
fi

auto: ckDB silent FRC

Expand Down Expand Up @@ -112,7 +115,7 @@ LTunix: LTunix.c ${CONFIG} ${LIBOBJ} ${HDR} config.ldflags

opt: ${CKTSTDB} ${OPTTST} FRC
@rm -f config.LT*
-@err=0; \
@err=0; \
echo ""; \
echo "Optional tests:"; \
for i in ${OPTTST}; do \
Expand All @@ -126,8 +129,11 @@ opt: ${CKTSTDB} ${OPTTST} FRC
else \
echo "All optional tests succeeded."; \
fi; \
echo "";
@rm -f config.LT*
echo ""; \
rm -f config.LT*; \
if [ $$err -ne 0 ]; then \
exit 1; \
fi

optional: opt

Expand Down

0 comments on commit c097e42

Please sign in to comment.