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,28 @@
DIST_QA_MSX1_MACHINE ?= Canon_V-20
DIST_QA_MSX1 := $(PATH_BIN)/dist-qa-msx1
DIST_QA_MSX1_DEPS := $(subst dist,dist-qa-msx1,$(DIST_DEPS))
BUILD_HELP += \\n\\t* dist-qa-msx1-run\\n\\t* dist-qa-msx1-assert
$(DIST_QA_MSX1):
$(call mb_mkdir,$(DIST_QA_MSX1))
$(DIST_QA_MSX1)/%: bin/dist/% | $(DIST_QA_MSX1) $(DIST_DEPS)
$(call mb_copy,$<,$@)
.PHONY: dist-qa-msx1-run
dist-qa-msx1-run: | $(DIST_QA_MSX1_DEPS)
$(call mb_autoexec_show_gui40,$(DIST_QA_MSX1))
$(call mb_openmsx_dosctl,$(DIST_QA_MSX1),$(DIST_QA_MSX1_MACHINE))
.PHONY: dist-qa-msx1-assert
dist-qa-msx1-assert: | $(DIST_QA_MSX1_DEPS)
$(call mb_delete,$(DIST_QA_MSX1)/ahello1.out)
$(call mb_delete,$(DIST_QA_MSX1)/ahello2.out)
$(call mb_autoexec_write_default,$(DIST_QA_MSX1),40)
$(call mb_autoexec_append_safe_test,$(DIST_QA_MSX1),ahello1 > ahello1.out,33)
$(call mb_autoexec_append_safe_test,$(DIST_QA_MSX1),ahello2 > ahello2.out,66,99)
$(call mb_autoexec_append_exit,$(DIST_QA_MSX1))
$(call mb_openmsx_dosctl,$(DIST_QA_MSX1),$(DIST_QA_MSX1_MACHINE))
grep "M80: Hello world..." $(DIST_QA_MSX1)/ahello1.out
grep "SDCC: Hello world..." $(DIST_QA_MSX1)/ahello2.out