15 lines
328 B
Bash
Executable File
15 lines
328 B
Bash
Executable File
#!/bin/bash
|
|
DIR=$(dirname ${BASH_SOURCE[0]})
|
|
if [ "$1" = "-b" ]
|
|
then
|
|
cd $DIR/../build/ninja_debug/
|
|
ninja
|
|
cd server
|
|
echo "Starting tests..."
|
|
./sparkd test $2
|
|
else
|
|
cd $DIR/../src
|
|
find $DIR/../src/ -name \*.h -o -name \*.cpp | entr /home/bts/spark/tools/watch_tests.sh -b $1
|
|
fi
|
|
|