diff --git a/test/mainCfgs.sh b/test/mainCfgs.sh index 05535796..fbaa5f45 100755 --- a/test/mainCfgs.sh +++ b/test/mainCfgs.sh @@ -1,4 +1,8 @@ #!/usr/bin/env bash +if [ "$#" -ne 1 ]; then + echo "Usage: $0 path/to/mlochbaum/BQN" + exit +fi make heapverify && echo 'heapverify:' && ./BQN -M 1000 "$1/test/this.bqn" -noerr bytecode header identity literal namespace prim simple syntax token under undo unhead || exit make rtverify && echo 'rtverify:' && ./BQN -M 1000 "$1/test/this.bqn" || exit make CC=gcc c && echo 'gcc:' && ./BQN -M 1000 "$1/test/this.bqn" || exit diff --git a/test/moreCfgs.sh b/test/moreCfgs.sh index 1cdd49d6..35981810 100755 --- a/test/moreCfgs.sh +++ b/test/moreCfgs.sh @@ -24,6 +24,8 @@ make f='-DVMPOS=0' c && ./BQN -p 2+2 || exit make f='-DDONT_FREE' c && ./BQN -p 2+2 || exit make f='-DOBJ_COUNTER' c && ./BQN -p 2+2 || exit make f='-DNO_RT' c && ./BQN -p 2+2 || exit +make f='-DNATIVE_COMPILER' c && ./BQN -p 2+2 || exit +make f='-DNATIVE_COMPILER -DONLY_NATIVE_COMP -DFORMATTER=0 -DNO_RT -DNO_EXPLAIN' c && ./BQN -p 2+2 || exit make f='-DLOG_GC' c && ./BQN -p 2+2 || exit make f='-DWRITE_ASM' c && ./BQN -p 2+2 || exit make f='-DUSE_PERF' c && ./BQN -p 2+2 || exit diff --git a/test/x86Cfgs.sh b/test/x86Cfgs.sh index 026aa152..76026cc6 100755 --- a/test/x86Cfgs.sh +++ b/test/x86Cfgs.sh @@ -1,4 +1,8 @@ #!/usr/bin/env bash +if [ "$#" -ne 1 ]; then + echo "Usage: $0 path/to/mlochbaum/BQN" + exit +fi make f='-DDEBUG -DHEAP_VERIFY -DJIT_START=0' single-c echo 'alljit+heapverify:' && ./BQN -M 1000 "$1/test/this.bqn" -noerr bytecode header identity literal namespace prim simple syntax token under undo unhead || exit echo 'singeli:';make o3n-singeli && ./BQN -M 1000 "$1/test/this.bqn" || exit