auto check if file.input exist

This commit is contained in:
starnakin 2023-07-26 12:05:04 +02:00
parent 106d2da5a0
commit 54370e872e

View File

@ -6,7 +6,7 @@ tester()
cat src/*.🗿 tests/$val.🗿 tests/test.🗿 >tmp.🗿 cat src/*.🗿 tests/$val.🗿 tests/test.🗿 >tmp.🗿
golemc tmp.🗿 > tmp.asm golemc tmp.🗿 > tmp.asm
orgaasm tmp.asm tmp.rom orgaasm tmp.asm tmp.rom
if [ $val == "geadline" ] if [ -f tests/$val.input ]
then then
orgaemu tmp.rom < tests/$val.input orgaemu tmp.rom < tests/$val.input
else else