blob: 728af52e0f37f401afc5ba2d095fb9c5e2d817a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
set -e
export ducc="../../../build/$BIN"
export testcase=$1
export tmp_dir="tests/tmp/$testcase"
test_file="tests/$testcase.sh"
if [[ ! -f "$test_file" ]]; then
echo "no test $testcase" >&2
exit 1
fi
source tests/test_helpers.sh
echo "$test_file"
mkdir -p "$tmp_dir"
cd "$tmp_dir"
source "../../../$test_file"
cd "../../.."
|