Added dos1 and dos2 asserts of hello worlds.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 1s

This commit is contained in:
Willem Cazander 2024-06-26 02:26:48 +02:00
parent e6301e9d48
commit 5562fe0d7a
8 changed files with 98 additions and 5 deletions

View file

@ -24,6 +24,6 @@ test-ahello-sdcc-run: $(TEST_AHELLO_SDCC)/ahello.com
.PHONY: test-ahello-sdcc-assert
test-ahello-sdcc-assert: $(TEST_AHELLO_SDCC)/ahello.com
$(call mb_delete,$(TEST_AHELLO_SDCC)/test.out)
$(call mb_autoexec_cmd_test,$(TEST_AHELLO_SDCC),ahello > test.out)
$(call mb_autoexec_cmd_test,$(TEST_AHELLO_SDCC),ahello > ahello.out)
$(call mb_openmsx_dosctl,$(TEST_AHELLO_SDCC))
grep "SDCC: Hello world..." $(TEST_AHELLO_SDCC)/test.out
grep "SDCC: Hello world..." $(TEST_AHELLO_SDCC)/ahello.out