From c2138b3ba1d49ff93bdebe9b76aca7c356b46689 Mon Sep 17 00:00:00 2001 From: dan Date: Mon, 29 May 2023 15:26:26 -0400 Subject: feat: add jit-compiled optype ; add more new commands --- runtests.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'runtests.sh') diff --git a/runtests.sh b/runtests.sh index ae77797..b93a45a 100755 --- a/runtests.sh +++ b/runtests.sh @@ -4,6 +4,11 @@ if [ -z "$FORTH_CMD" ] ; then FORTH_CMD="./forth" fi +dir='./tests' +if [ "$#" -gt 0 ] ; then + dir="$1" +fi + n=0 failed=0 @@ -27,7 +32,7 @@ runtest () { fi } -for f in ./tests/*; do +for f in $dir/*.forth; do n="$(expr "$n" + 1)" runtest "$f" done -- cgit v1.2.3