another moreCfgs.sh test, print message if not given path argument
This commit is contained in:
parent
a17d8004be
commit
162aff4595
@ -5,7 +5,7 @@ Must be run from the projects root directory.
|
|||||||
``` C
|
``` C
|
||||||
test/mainCfgs.sh path/to/mlochbaum/BQN // run the test suite for a couple primary configurations
|
test/mainCfgs.sh path/to/mlochbaum/BQN // run the test suite for a couple primary configurations
|
||||||
test/x86Cfgs.sh path/to/mlochbaum/BQN // run the test suite for x86-64-specific configurations, including singeli; 32-bit build is "supposed" to fail one test involving ⋆⁼
|
test/x86Cfgs.sh path/to/mlochbaum/BQN // run the test suite for x86-64-specific configurations, including singeli; 32-bit build is "supposed" to fail one test involving ⋆⁼
|
||||||
test/moreCfgs.sh path/to/mlochbaum/BQN // run "2+2" in a bunch of configurations
|
test/moreCfgs.sh path/to/mlochbaum/BQN // run "2+2" in a bunch of configurations; requires dzaima/BQN to be accessible as dbqn
|
||||||
./BQN test/cmp.bqn // fuzz-test scalar comparison functions =≠<≤>≥
|
./BQN test/cmp.bqn // fuzz-test scalar comparison functions =≠<≤>≥
|
||||||
./BQN test/equal.bqn // fuzz-test 𝕨≡𝕩
|
./BQN test/equal.bqn // fuzz-test 𝕨≡𝕩
|
||||||
./BQN test/copy.bqn // fuzz-test creating new arrays with elements copied from another
|
./BQN test/copy.bqn // fuzz-test creating new arrays with elements copied from another
|
||||||
|
|||||||
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
if [ "$#" -ne 1 ]; then
|
||||||
|
echo "Usage: $0 path/to/mlochbaum/BQN"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
make && ./BQN -p 2+2 || exit
|
make && ./BQN -p 2+2 || exit
|
||||||
make single-debug && ./BQN -p 2+2 || exit
|
make single-debug && ./BQN -p 2+2 || exit
|
||||||
make heapverify && ./BQN -p 2+2 || exit
|
make heapverify && ./BQN -p 2+2 || exit
|
||||||
@ -19,7 +23,6 @@ make f='-DVMPOS=0' c && ./BQN -p 2+2 || exit
|
|||||||
make f='-DDONT_FREE' 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='-DOBJ_COUNTER' c && ./BQN -p 2+2 || exit
|
||||||
make f='-DNO_RT' c || exit
|
make f='-DNO_RT' c || exit
|
||||||
test/precompiled.bqn "$1" "$PATH" '2+2' || exit
|
|
||||||
make f='-DNO_RT -DPRECOMP' c && ./BQN || exit
|
make f='-DNO_RT -DPRECOMP' c && ./BQN || exit
|
||||||
make f='-DLOG_GC' 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='-DWRITE_ASM' c && ./BQN -p 2+2 || exit
|
||||||
@ -27,3 +30,5 @@ make f='-DUSE_PERF' c && ./BQN -p 2+2 || exit
|
|||||||
make f='-DUSZ_64' c && ./BQN -p 2+2 || exit
|
make f='-DUSZ_64' c && ./BQN -p 2+2 || exit
|
||||||
make f='-DREPL_INTERRUPT=0' c && ./BQN -p 2+2 || exit
|
make f='-DREPL_INTERRUPT=0' c && ./BQN -p 2+2 || exit
|
||||||
make f='-DREPL_INTERRUPT=1' c && ./BQN -p 2+2 || exit
|
make f='-DREPL_INTERRUPT=1' c && ./BQN -p 2+2 || exit
|
||||||
|
make FFI=0 c && ./BQN -p 2+2 || exit
|
||||||
|
dbqn test/precompiled.bqn "$1" "$PATH" '2+2' || exit
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user