From 54370e872ee5d561c3bda36797cac60e6ea2a60a Mon Sep 17 00:00:00 2001 From: starnakin Date: Wed, 26 Jul 2023 12:05:04 +0200 Subject: [PATCH] auto check if file.input exist --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 918df05..58255d0 100755 --- a/test.sh +++ b/test.sh @@ -6,7 +6,7 @@ tester() cat src/*.🗿 tests/$val.🗿 tests/test.🗿 >tmp.🗿 golemc tmp.🗿 > tmp.asm orgaasm tmp.asm tmp.rom - if [ $val == "geadline" ] + if [ -f tests/$val.input ] then orgaemu tmp.rom < tests/$val.input else