-
-
Notifications
You must be signed in to change notification settings - Fork 101
Expand file tree
/
Copy pathtest-all.sh
More file actions
executable file
·33 lines (27 loc) · 699 Bytes
/
test-all.sh
File metadata and controls
executable file
·33 lines (27 loc) · 699 Bytes
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
26
27
28
29
30
31
32
33
#!/usr/bin/env bash
if [ "$#" -ne 1 ]; then
RUNTESTARGS=""
else
RUNTESTARGS="-j"$1
fi
echo 'Running:'
echo ' - CmdStan tests'
echo ' - Stan tests'
echo ' - Stan Math Library tests'
echo ''
echo '------------------------------------------------------------'
echo 'CmdStan tests'
./runCmdStanTests.py $RUNTESTARGS src/test/interface
echo ''
echo '------------------------------------------------------------'
echo 'Stan tests'
pushd stan/
./runTests.py $RUNTESTARGS src/test
popd
echo ''
echo '------------------------------------------------------------'
echo 'Stan Math Library tests'
pushd stan/lib/stan_math/
./runTests.py $RUNTESTARGS test/unit
./runTests.py $RUNTESTARGS test/prob
popd