Skip to content

Commit 3155381

Browse files
committed
Return true if the unit test fails
tests/goto.bas will fail with a return code that is the last line numer in the file. The failure is expected, hence we return true. This will mask any unexpected failures so should be reworked.
1 parent 8f12634 commit 3155381

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/platform/console/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ UNIT_TESTS=array break byref eval-test iifs matrices metaa ongoto \
3939

4040
test: ${bin_PROGRAMS}
4141
@for utest in $(UNIT_TESTS); do \
42-
./${bin_PROGRAMS} ${TEST_DIR}/$${utest}.bas > test.out; \
42+
./${bin_PROGRAMS} ${TEST_DIR}/$${utest}.bas > test.out || true; \
4343
if cmp -s test.out ${TEST_DIR}/output/$${utest}.out; then \
4444
echo $${utest} ✓; \
4545
else \

0 commit comments

Comments
 (0)