Converted local project to demo structure.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -8s

This commit is contained in:
Willem Cazander 2024-06-30 02:42:42 +02:00
parent fd67884bee
commit 56e74ee085
21 changed files with 257 additions and 249 deletions

View file

@ -0,0 +1,55 @@
DIST_QA_MSXHUB_MACHINE ?= Boosted_MSX2+_JP
DIST_QA_MSXHUB := $(PATH_BIN)/dist-qa-msxhub
DIST_QA_MSXHUB_DEPS := $(subst dist,dist-qa-msxhub,$(DIST_DEPS))
BUILD_HELP += \\n\\t* dist-qa-msxhub-run\\n\\t* dist-qa-msxhub-assert
$(DIST_QA_MSXHUB):
$(call mb_mkdir,$(DIST_QA_MSXHUB))
$(call mb_mkdir,$(DIST_QA_MSXHUB)/utils)
$(call mb_msxhub_get_dos2_utils,$(DIST_QA_MSXHUB)/utils)
$(call mb_msxhub_get_nextor_utils,$(DIST_QA_MSXHUB)/utils)
$(call mb_msxhub_get_macro80,$(DIST_QA_MSXHUB)/utils)
$(call mb_msxhub_get_z80asmuk,$(DIST_QA_MSXHUB)/utils)
$(call mb_msxhub_get_wbass2,$(DIST_QA_MSXHUB)/utils)
$(call mb_msxhub_get_konpass,$(DIST_QA_MSXHUB)/utils)
$(call mb_msxhub_get_pmarc,$(DIST_QA_MSXHUB)/utils)
$(call mb_msxhub_get_lhpack,$(DIST_QA_MSXHUB)/utils)
$(call mb_msxhub_get_lhext,$(DIST_QA_MSXHUB)/utils)
$(call mb_msxhub_get_gunzip,$(DIST_QA_MSXHUB)/utils)
$(call mb_msxhub_get_tunzip,$(DIST_QA_MSXHUB)/utils)
$(call mb_msxhub_get_popcom,$(DIST_QA_MSXHUB)/utils)
$(call mb_msxhub_get_make,$(DIST_QA_MSXHUB)/utils)
$(call mb_msxhub_get_adir,$(DIST_QA_MSXHUB)/utils)
$(call mb_msxhub_get_turbo,$(DIST_QA_MSXHUB)/utils)
$(call mb_msxhub_get_baskom,$(DIST_QA_MSXHUB)/utils)
$(call mb_msxhub_get_binldr,$(DIST_QA_MSXHUB)/utils)
$(call mb_msxhub_get_dmphex,$(DIST_QA_MSXHUB)/utils)
$(call mb_msxhub_get_zd,$(DIST_QA_MSXHUB)/utils)
$(call mb_msxhub_get_msxdos2t,$(DIST_QA_MSXHUB)/utils)
$(call mb_msxhub_get_gfxage,$(DIST_QA_MSXHUB)/utils)
$(DIST_QA_MSXHUB)/%: bin/dist/% | $(DIST_QA_MSXHUB) $(DIST_DEPS)
$(call mb_copy,$<,$@)
.PHONY: dist-qa-msxhub-run
dist-qa-msxhub-run: | $(DIST_QA_MSXHUB_DEPS)
$(call mb_autoexec_show_gui80,$(DIST_QA_MSXHUB),dir/w)
$(call mb_openmsx_dosctl,$(DIST_QA_MSXHUB),$(DIST_QA_MSXHUB_MACHINE))
.PHONY: dist-qa-msxhub-assert
dist-qa-msxhub-assert: | $(DIST_QA_MSXHUB_DEPS)
$(call mb_delete,$(DIST_QA_MSXHUB)/ahello1.out)
$(call mb_delete,$(DIST_QA_MSXHUB)/ahello2.out)
$(call mb_delete,$(DIST_QA_MSXHUB)/utils.out)
$(call mb_autoexec_write_default,$(DIST_QA_MSXHUB),80)
$(call mb_autoexec_append_safe_test,$(DIST_QA_MSXHUB),ahello1 > ahello1.out)
$(call mb_autoexec_append_safe_test,$(DIST_QA_MSXHUB),ahello2 > ahello2.out)
$(call mb_autoexec_append_safe_test,$(DIST_QA_MSXHUB),dir utils > utils.out)
$(call mb_autoexec_append_cmd,$(DIST_QA_MSXHUB),dir/w)
$(call mb_autoexec_append_exit,$(DIST_QA_MSXHUB))
$(call mb_openmsx_dosctl,$(DIST_QA_MSXHUB),$(DIST_QA_MSXHUB_MACHINE))
grep "M80: Hello world..." $(DIST_QA_MSXHUB)/ahello1.out
grep "SDCC: Hello world..." $(DIST_QA_MSXHUB)/ahello2.out
grep "KONPASS COM" $(DIST_QA_MSXHUB)/utils.out
grep "MAKE COM" $(DIST_QA_MSXHUB)/utils.out