From 601a6f5b3cc388b8511c355b74aa9c5c3f52896b Mon Sep 17 00:00:00 2001 From: Filip Gralinski Date: Thu, 10 Jun 2021 09:22:54 +0200 Subject: [PATCH] Add helper script for creating tests --- test/create-test.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 test/create-test.sh diff --git a/test/create-test.sh b/test/create-test.sh new file mode 100755 index 0000000..a8bd946 --- /dev/null +++ b/test/create-test.sh @@ -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