Added dos1 and dos2 asserts of hello worlds.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 1s

This commit is contained in:
Willem Cazander 2024-06-26 02:26:48 +02:00
parent e6301e9d48
commit 5562fe0d7a
8 changed files with 98 additions and 5 deletions

25
test/dist/0module.mk vendored Normal file
View file

@ -0,0 +1,25 @@
TEST_DIST_NAME := dist
TEST_DIST_SRC := test/$(TEST_DIST_NAME)
TEST_DIST_BIN := $(PATH_BIN)/test/$(TEST_DIST_NAME)
TEST_DIST_OUT := $(PATH_BIN)/test/$(TEST_DIST_NAME).tar.gz
TEST_DIST_INC := readme.txt
BUILD_HELP += \\n\\t* $(TEST_DIST_OUT)
$(TEST_DIST_BIN):
$(call mb_mkdir,$(TEST_DIST_BIN))
$(TEST_DIST_BIN)/readme.txt: $(TEST_DIST_SRC)/readme.txt | $(TEST_DIST_BIN)
$(call mb_copy,$<,$@)
$(TEST_DIST_BIN)/ahello1.com: bin/test/ahello-m80/ahello.com | $(TEST_DIST_BIN)
$(call mb_copy,$<,$@)
$(TEST_DIST_BIN)/ahello2.com: bin/test/ahello-sdcc/ahello.com | $(TEST_DIST_BIN)
$(call mb_copy,$<,$@)
$(TEST_DIST_OUT): \
$(TEST_DIST_BIN)/readme.txt \
$(TEST_DIST_BIN)/ahello1.com \
$(TEST_DIST_BIN)/ahello2.com
$(call mb_create_dist,$(TEST_DIST_OUT),$(TEST_DIST_BIN))

2
test/dist/readme.txt vendored Normal file
View file

@ -0,0 +1,2 @@
Test readme