msxbuild/test/dist-qa-dos1/0module.mk

26 lines
1,003 B
Makefile
Raw Normal View History

2024-06-26 01:21:06 +00:00
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_msxhub_getboot_dos1,$(TEST_DIST_QA_DOS1))
2024-06-26 01:21:06 +00:00
$(TEST_DIST_QA_DOS1)/%: bin/test/dist/% | $(TEST_DIST_QA_DOS1) $(TEST_DIST_DEPS)
$(call mb_copy,$<,$@)
.PHONY: test-dist-qa-dos1-run
2024-06-26 01:21:06 +00:00
test-dist-qa-dos1-run: | $(TEST_DIST_QA_DOS1_DEPS)
2024-06-27 17:09:38 +00:00
$(call mb_autoexec_open_gui80,$(TEST_DIST_QA_DOS1))
$(call mb_openmsx_dosctl,$(TEST_DIST_QA_DOS1))
.PHONY: test-dist-qa-dos1-assert
2024-06-26 01:21:06 +00:00
test-dist-qa-dos1-assert: | $(TEST_DIST_QA_DOS1_DEPS)
$(call mb_autoexec_write_default,$(TEST_DIST_QA_DOS1))
$(call mb_autoexec_append_safe_test,$(TEST_DIST_QA_DOS1),ahello1)
$(call mb_autoexec_append_safe_test,$(TEST_DIST_QA_DOS1),ahello2)
$(call mb_autoexec_append_exit,$(TEST_DIST_QA_DOS1))
$(call mb_openmsx_dosctl,$(TEST_DIST_QA_DOS1))