core-legacy/tavern_tests/run_tests.sh

17 lines
203 B
Bash
Executable file

#!/usr/bin/env sh
mkdir ./testing_tmp
cd ./testing_tmp
cp $1 ./core
cp $2 ./config.json
./core &
core_id=$!
sleep 2;
tavern-ci --tavern-beta-new-traceback ..
kill $core_id
cd ..
rm -r ./testing_tmp