Added autoexec append safe test/cmd timeout and/or exit code overrride.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -7s

This commit is contained in:
Willem Cazander 2024-06-28 23:27:47 +02:00
parent a443040dff
commit b0bbb7ff1c
2 changed files with 4 additions and 4 deletions

View file

@ -21,8 +21,8 @@ test-dist-qa-msx1-assert: | $(TEST_DIST_QA_MSX1_DEPS)
$(call mb_delete,$(TEST_DIST_QA_MSX1)/ahello1.out)
$(call mb_delete,$(TEST_DIST_QA_MSX1)/ahello2.out)
$(call mb_autoexec_write_default,$(TEST_DIST_QA_MSX1),40)
$(call mb_autoexec_append_safe_test,$(TEST_DIST_QA_MSX1),ahello1 > ahello1.out)
$(call mb_autoexec_append_safe_test,$(TEST_DIST_QA_MSX1),ahello2 > ahello2.out)
$(call mb_autoexec_append_safe_test,$(TEST_DIST_QA_MSX1),ahello1 > ahello1.out,33)
$(call mb_autoexec_append_safe_test,$(TEST_DIST_QA_MSX1),ahello2 > ahello2.out,66,99)
$(call mb_autoexec_append_exit,$(TEST_DIST_QA_MSX1))
$(call mb_openmsx_dosctl,$(TEST_DIST_QA_MSX1),$(TEST_DIST_QA_MSX1_MACHINE))
grep "M80: Hello world..." $(TEST_DIST_QA_MSX1)/ahello1.out