Converted local project to demo structure.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -8s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -8s
This commit is contained in:
parent
fd67884bee
commit
56e74ee085
21 changed files with 257 additions and 249 deletions
28
src/dist-qa-dos2/0module.mk
Normal file
28
src/dist-qa-dos2/0module.mk
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
|
||||
DIST_QA_DOS2 := $(PATH_BIN)/dist-qa-dos2
|
||||
DIST_QA_DOS2_DEPS := $(subst dist,dist-qa-dos2,$(DIST_DEPS))
|
||||
BUILD_HELP += \\n\\t* dist-qa-dos2-run\\n\\t* dist-qa-dos2-assert
|
||||
|
||||
$(DIST_QA_DOS2):
|
||||
$(call mb_mkdir,$(DIST_QA_DOS2))
|
||||
$(call mb_msxhub_get_dos2_boot,$(DIST_QA_DOS2))
|
||||
|
||||
$(DIST_QA_DOS2)/%: bin/dist/% | $(DIST_QA_DOS2) $(DIST_DEPS)
|
||||
$(call mb_copy,$<,$@)
|
||||
|
||||
.PHONY: dist-qa-dos2-run
|
||||
dist-qa-dos2-run: | $(DIST_QA_DOS2_DEPS)
|
||||
$(call mb_autoexec_show_gui80,$(DIST_QA_DOS2))
|
||||
$(call mb_openmsx_dosctl,$(DIST_QA_DOS2))
|
||||
|
||||
.PHONY: dist-qa-dos2-assert
|
||||
dist-qa-dos2-assert: | $(DIST_QA_DOS2_DEPS)
|
||||
$(call mb_delete,$(DIST_QA_DOS2)/ahello1.out)
|
||||
$(call mb_delete,$(DIST_QA_DOS2)/ahello2.out)
|
||||
$(call mb_autoexec_write_default,$(DIST_QA_DOS2))
|
||||
$(call mb_autoexec_append_safe_test,$(DIST_QA_DOS2),ahello1 > ahello1.out)
|
||||
$(call mb_autoexec_append_safe_test,$(DIST_QA_DOS2),ahello2 > ahello2.out)
|
||||
$(call mb_autoexec_append_exit,$(DIST_QA_DOS2))
|
||||
$(call mb_openmsx_dosctl,$(DIST_QA_DOS2))
|
||||
grep "M80: Hello world..." $(DIST_QA_DOS2)/ahello1.out
|
||||
grep "SDCC: Hello world..." $(DIST_QA_DOS2)/ahello2.out
|
||||
Loading…
Add table
Add a link
Reference in a new issue