From 87499f834a78e394793e9a4c7e79e3a2297d8b9e Mon Sep 17 00:00:00 2001 From: Ole Richter Date: Mon, 11 Apr 2022 20:16:32 +0200 Subject: [PATCH] added flag for start seed --- test/repeat_unit.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/repeat_unit.sh b/test/repeat_unit.sh index 58b78e2..0bc0526 100755 --- a/test/repeat_unit.sh +++ b/test/repeat_unit.sh @@ -55,7 +55,10 @@ fi cd "unit_tests" # run all test except single one is specified -if [ ! -z $2 ]; then +if [ ! -z $3 ]; then + numberofruns=$2+$3 + iteration=$3 +elif [ ! -z $2 ]; then numberofruns=$2 fi