Add helper script for creating tests

This commit is contained in:
Filip Gralinski 2021-06-10 09:22:54 +02:00
parent 0afa1fe0ba
commit 601a6f5b3c

13
test/create-test.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
NAME="$1"
METRIC="$2"
DIR=$NAME
mkdir -p $DIR/$DIR/test-A
mkdir -p $DIR/$DIR-solution/test-A
echo '--metric' $METRIC > $DIR/$DIR/config.txt
touch $DIR/$DIR/test-A/expected.tsv
touch $DIR/$DIR-solution/test-A/out.tsv