Moved asserts to remove copy of mofified files after assert.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -9s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -9s
This commit is contained in:
parent
b175f499d4
commit
6f677b6c43
10 changed files with 181 additions and 141 deletions
|
|
@ -2,7 +2,7 @@
|
|||
AHELLO_SDCC_MOD := ahello-sdcc
|
||||
AHELLO_SDCC_SRC := $(PATH_SRC)/$(AHELLO_SDCC_MOD)
|
||||
AHELLO_SDCC_BIN := $(PATH_BIN)/$(AHELLO_SDCC_MOD)
|
||||
BUILD_HELP += \\n\\t* $(AHELLO_SDCC_BIN)/ahello.com\\n\\t* ahello-sdcc-run\\n\\t* ahello-sdcc-assert
|
||||
BUILD_HELP += \\n\\t* $(AHELLO_SDCC_BIN)/ahello.com\\n\\t* $(AHELLO_SDCC_BIN)/@run
|
||||
|
||||
$(AHELLO_SDCC_BIN):
|
||||
$(call mb_mkdir,$(AHELLO_SDCC_BIN))
|
||||
|
|
@ -16,14 +16,7 @@ $(AHELLO_SDCC_BIN)/ahello.hex: $(AHELLO_SDCC_BIN)/ahello.rel
|
|||
$(AHELLO_SDCC_BIN)/ahello.com: $(AHELLO_SDCC_BIN)/ahello.hex
|
||||
$(call mb_sdcc_hex2bin,$<,$@)
|
||||
|
||||
.PHONY: ahello-sdcc-run
|
||||
ahello-sdcc-run: $(AHELLO_SDCC_BIN)/ahello.com
|
||||
.PHONY: $(AHELLO_SDCC_BIN)/@run
|
||||
$(AHELLO_SDCC_BIN)/@run: | $(AHELLO_SDCC_BIN)/ahello.com
|
||||
$(call mb_autoexec_show_gui80,$(AHELLO_SDCC_BIN))
|
||||
$(call mb_openmsx_dosctl,$(AHELLO_SDCC_BIN))
|
||||
|
||||
.PHONY: ahello-sdcc-assert
|
||||
ahello-sdcc-assert: $(AHELLO_SDCC_BIN)/ahello.com
|
||||
$(call mb_delete,$(AHELLO_SDCC_BIN)/ahello.out)
|
||||
$(call mb_autoexec_safe_test,$(AHELLO_SDCC_BIN),ahello > ahello.out)
|
||||
$(call mb_openmsx_dosctl,$(AHELLO_SDCC_BIN))
|
||||
grep "SDCC: Hello world..." $(AHELLO_SDCC_BIN)/ahello.out
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue