Test for coverage

This commit is contained in:
Devine Lu Linvega 2024-01-11 19:30:15 -08:00
parent 5b546ab472
commit 15a7b50f56
2 changed files with 4 additions and 8 deletions

View File

@ -57,7 +57,6 @@ JMP2r
POP2 #000a DIV2 SWPr INCr STHkr ?&w POP2 #000a DIV2 SWPr INCr STHkr ?&w
POP2r POP2 POP2 JMP2r POP2r POP2 POP2 JMP2r
$100 @label2 $20 @label2
~examples/include.tal
@hello-word "Hello 20 "World! 0a $1

View File

@ -15,13 +15,10 @@ lint:
bal: bal:
@ ${BAL} src/${ID}.tal @ ${BAL} src/${ID}.tal
run: all run: all
# @ ${EMU} ${ROM} src/${ID}.tal ${ROM} @ uxnasm examples/coverage.tal bin/a.rom
# @ ${EMU} ${ROM} examples/hello.tal bin/hello.rom
# @ ${EMU} bin/hello.rom
@ uxnasm examples/hello.tal bin/a.rom
@ uxncli ~/roms/hx.rom bin/a.rom @ uxncli ~/roms/hx.rom bin/a.rom
@ uxncli bin/a.rom @ uxncli bin/a.rom
@ cat examples/hello.tal | ${EMU} ${ROM} > bin/b.rom @ cat examples/coverage.tal | ${EMU} ${ROM} > bin/b.rom
@ uxncli ~/roms/hx.rom bin/b.rom @ uxncli ~/roms/hx.rom bin/b.rom
@ uxncli bin/b.rom @ uxncli bin/b.rom
install: all install: all