Add helper script for creating tests
This commit is contained in:
parent
0afa1fe0ba
commit
601a6f5b3c
13
test/create-test.sh
Executable file
13
test/create-test.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user