msxbuild/test/dist-qa-dos1/0module.mk
Willem Cazander 54f8016ead
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 0s
Used proper make for qa copy.
2024-06-26 03:21:06 +02:00

28 lines
1.1 KiB
Makefile

TEST_DIST_QA_DOS1 := $(PATH_BIN)/test/dist-qa-dos1
TEST_DIST_QA_DOS1_DEPS := $(subst dist,dist-qa-dos1,$(TEST_DIST_DEPS))
BUILD_HELP += \\n\\t* test-dist-qa-dos1-run\\n\\t* test-dist-qa-dos1-assert
$(TEST_DIST_QA_DOS1):
$(call mb_mkdir,$(TEST_DIST_QA_DOS1))
$(call mb_package_emuctl,$(TEST_DIST_QA_DOS1))
$(call mb_package_dos1,$(TEST_DIST_QA_DOS1))
$(TEST_DIST_QA_DOS1)/%: bin/test/dist/% | $(TEST_DIST_QA_DOS1) $(TEST_DIST_DEPS)
$(call mb_copy,$<,$@)
.PHONY: test-dist-qa-dos1-run
test-dist-qa-dos1-run: | $(TEST_DIST_QA_DOS1_DEPS)
$(call mb_autoexec_open_gui,$(TEST_DIST_QA_DOS1))
$(call mb_openmsx_dosctl,$(TEST_DIST_QA_DOS1))
.PHONY: test-dist-qa-dos1-assert
test-dist-qa-dos1-assert: | $(TEST_DIST_QA_DOS1_DEPS)
$(call mb_delete,$(TEST_DIST_QA_DOS1)/test.out)
$(call mb_autoexec_write_default,$(TEST_DIST_QA_DOS1))
$(call mb_autoexec_append_cmd_test,$(TEST_DIST_QA_DOS1),ahello1)
$(call mb_autoexec_append_cmd_test,$(TEST_DIST_QA_DOS1),ahello2)
$(call mb_autoexec_append_exit,$(TEST_DIST_QA_DOS1))
$(call mb_openmsx_dosctl,$(TEST_DIST_QA_DOS1))