prog8/compiler/test/comparisons/Makefile

25 lines
531 B
Makefile
Raw Normal View History

.PHONY: all clean test
all: test
clean:
2024-02-22 22:39:31 +00:00
rm -f *.prg *.p8ir *.asm *.vice-* test_*.p8
2021-03-18 00:14:22 +00:00
test: clean generate test_prgs
generate:
2024-02-22 22:39:31 +00:00
python make_eq_tests.py
2024-02-29 23:13:03 +00:00
python make_eq_tests_splitw.py
2024-02-24 19:02:13 +00:00
python make_cmp_tests.py
2024-02-29 23:13:03 +00:00
python make_cmp_tests_splitw.py
2024-02-22 22:39:31 +00:00
p8compile -target cx16 -sourcelines *.p8 >/dev/null
2021-03-18 00:14:22 +00:00
test_prgs:
2024-02-22 22:39:31 +00:00
x16emu -run -prg ifelse.prg
2023-08-12 11:42:24 +00:00
x16emu -run -prg optimized_compares.prg
2023-04-09 13:06:40 +00:00
x16emu -run -prg more_compares.prg
2024-02-22 22:39:31 +00:00
for program in test*.prg; do \
echo "RUNNING:" $$program ; \
x16emu -run -prg $$program >/dev/null ; \
done