-
Notifications
You must be signed in to change notification settings - Fork 0
/
runtests.sh
executable file
·26 lines (20 loc) · 1006 Bytes
/
runtests.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#! /usr/bin/env bash
# Get the directory where the script is located. Should be the
# repository root directoy.
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
usage() {
echo "Usage: ./runtests.sh"
}
runtests() {
echo "Running tests using random number seed 1:"
cd "$DIR/src" && julia --color=yes --check-bounds=yes run.jl examples/ia_example1 1
cd "$DIR/src" && julia --color=yes --check-bounds=yes run.jl examples/ia_example2 1
cd "$DIR/src" && julia --color=yes --check-bounds=yes run.jl examples/ia_example3 1
cd "$DIR/src" && julia --color=yes --check-bounds=yes run.jl examples/ia_example4 1
cd "$DIR/src" && julia --color=yes --check-bounds=yes run.jl examples/ia_example5 1
cd "$DIR/src" && julia --color=yes --check-bounds=yes run.jl examples/is_example0 1
cd "$DIR/src" && julia --color=yes --check-bounds=yes run.jl examples/is_example1 1
cd "$DIR/src" && julia --color=yes --check-bounds=yes run.jl examples/is_example2 1
}
runtests
exit 0