2024-06-29 00:49:16 +00:00
|
|
|
|
|
|
|
TEST_DIST_QA_MSXHUB_MACHINE ?= Boosted_MSX2+_JP
|
|
|
|
TEST_DIST_QA_MSXHUB := $(PATH_BIN)/test/dist-qa-msxhub
|
|
|
|
TEST_DIST_QA_MSXHUB_DEPS := $(subst dist,dist-qa-msxhub,$(TEST_DIST_DEPS))
|
|
|
|
BUILD_HELP += \\n\\t* test-dist-qa-msxhub-run\\n\\t* test-dist-qa-msxhub-assert
|
|
|
|
|
|
|
|
$(TEST_DIST_QA_MSXHUB):
|
|
|
|
$(call mb_mkdir,$(TEST_DIST_QA_MSXHUB))
|
|
|
|
$(call mb_mkdir,$(TEST_DIST_QA_MSXHUB)/utils)
|
|
|
|
$(call mb_msxhub_get_dos2_utils,$(TEST_DIST_QA_MSXHUB)/utils)
|
|
|
|
$(call mb_msxhub_get_nextor_utils,$(TEST_DIST_QA_MSXHUB)/utils)
|
|
|
|
$(call mb_msxhub_get_macro80,$(TEST_DIST_QA_MSXHUB)/utils)
|
|
|
|
$(call mb_msxhub_get_z80asmuk,$(TEST_DIST_QA_MSXHUB)/utils)
|
2024-06-29 01:36:55 +00:00
|
|
|
$(call mb_msxhub_get_wbass2,$(TEST_DIST_QA_MSXHUB)/utils)
|
2024-06-29 01:42:46 +00:00
|
|
|
$(call mb_msxhub_get_konpass,$(TEST_DIST_QA_MSXHUB)/utils)
|
2024-06-29 00:49:16 +00:00
|
|
|
$(call mb_msxhub_get_pmarc,$(TEST_DIST_QA_MSXHUB)/utils)
|
|
|
|
$(call mb_msxhub_get_lhpack,$(TEST_DIST_QA_MSXHUB)/utils)
|
|
|
|
$(call mb_msxhub_get_lhext,$(TEST_DIST_QA_MSXHUB)/utils)
|
|
|
|
$(call mb_msxhub_get_gunzip,$(TEST_DIST_QA_MSXHUB)/utils)
|
|
|
|
$(call mb_msxhub_get_tunzip,$(TEST_DIST_QA_MSXHUB)/utils)
|
|
|
|
$(call mb_msxhub_get_popcom,$(TEST_DIST_QA_MSXHUB)/utils)
|
2024-06-29 01:52:54 +00:00
|
|
|
$(call mb_msxhub_get_make,$(TEST_DIST_QA_MSXHUB)/utils)
|
2024-06-29 00:49:16 +00:00
|
|
|
$(call mb_msxhub_get_adir,$(TEST_DIST_QA_MSXHUB)/utils)
|
|
|
|
$(call mb_msxhub_get_turbo,$(TEST_DIST_QA_MSXHUB)/utils)
|
|
|
|
$(call mb_msxhub_get_baskom,$(TEST_DIST_QA_MSXHUB)/utils)
|
|
|
|
$(call mb_msxhub_get_binldr,$(TEST_DIST_QA_MSXHUB)/utils)
|
|
|
|
$(call mb_msxhub_get_dmphex,$(TEST_DIST_QA_MSXHUB)/utils)
|
2024-06-29 01:52:54 +00:00
|
|
|
$(call mb_msxhub_get_zd,$(TEST_DIST_QA_MSXHUB)/utils)
|
2024-06-29 00:49:16 +00:00
|
|
|
$(call mb_msxhub_get_msxdos2t,$(TEST_DIST_QA_MSXHUB)/utils)
|
|
|
|
$(call mb_msxhub_get_gfxage,$(TEST_DIST_QA_MSXHUB)/utils)
|
|
|
|
|
|
|
|
$(TEST_DIST_QA_MSXHUB)/%: bin/test/dist/% | $(TEST_DIST_QA_MSXHUB) $(TEST_DIST_DEPS)
|
|
|
|
$(call mb_copy,$<,$@)
|
|
|
|
|
|
|
|
.PHONY: test-dist-qa-msxhub-run
|
|
|
|
test-dist-qa-msxhub-run: | $(TEST_DIST_QA_MSXHUB_DEPS)
|
2024-06-29 13:47:52 +00:00
|
|
|
$(call mb_autoexec_show_gui80,$(TEST_DIST_QA_MSXHUB),dir/w utils)
|
2024-06-29 00:49:16 +00:00
|
|
|
$(call mb_openmsx_dosctl,$(TEST_DIST_QA_MSXHUB),$(TEST_DIST_QA_MSXHUB_MACHINE))
|
|
|
|
|
|
|
|
.PHONY: test-dist-qa-msxhub-assert
|
|
|
|
test-dist-qa-msxhub-assert: | $(TEST_DIST_QA_MSXHUB_DEPS)
|
|
|
|
$(call mb_delete,$(TEST_DIST_QA_MSXHUB)/ahello1.out)
|
|
|
|
$(call mb_delete,$(TEST_DIST_QA_MSXHUB)/ahello2.out)
|
|
|
|
$(call mb_autoexec_write_default,$(TEST_DIST_QA_MSXHUB),80)
|
2024-06-29 14:04:44 +00:00
|
|
|
$(call mb_autoexec_append_safe_test,$(TEST_DIST_QA_MSXHUB),ahello1 > ahello1.out)
|
|
|
|
$(call mb_autoexec_append_safe_test,$(TEST_DIST_QA_MSXHUB),ahello2 > ahello2.out)
|
|
|
|
$(call mb_autoexec_append_cmd,$(TEST_DIST_QA_MSXHUB),dir)
|
|
|
|
$(call mb_autoexec_append_cmd,$(TEST_DIST_QA_MSXHUB),dir/w utils)
|
2024-06-29 00:49:16 +00:00
|
|
|
$(call mb_autoexec_append_exit,$(TEST_DIST_QA_MSXHUB))
|
|
|
|
$(call mb_openmsx_dosctl,$(TEST_DIST_QA_MSXHUB),$(TEST_DIST_QA_MSXHUB_MACHINE))
|
|
|
|
grep "M80: Hello world..." $(TEST_DIST_QA_MSXHUB)/ahello1.out
|
|
|
|
grep "SDCC: Hello world..." $(TEST_DIST_QA_MSXHUB)/ahello2.out
|