From 74269e4ccdbde387d6267edcd8bfaecc50de96a0 Mon Sep 17 00:00:00 2001 From: rand00 Date: Thu, 12 Jan 2023 15:27:33 +0100 Subject: [PATCH] packaging/perftest.sh: Moved some variables up into new 'configure per system' section --- packaging/perftest.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/packaging/perftest.sh b/packaging/perftest.sh index 52b34f6..7420a89 100755 --- a/packaging/perftest.sh +++ b/packaging/perftest.sh @@ -92,6 +92,11 @@ BIN_REL="$1" [ -z "${BIN_REL}" ] && \ die "The main binarys localpath must be given as the first positional argument" +# >>> CONFIGURE PER SYSTEM +SERVER="starand" +SERVER_DIR="0tmp/robur_perftest" +# <<< -------------------- + info "processing UUID '$UUID'" BIN="${DATA_DIR}/$BIN_REL" @@ -120,12 +125,6 @@ if [ -d "$PERFDATA_DIR" ]; then fi; #< goto maybe add a 'force' param to rerun test + regenerate plot -SERVER="starand" -#< goto set test-server ip somewhere - environment variable, or manually set here? -#< goto currently 'run-test.sh' depends on this containing user + test-dir too -SERVER_DIR="0tmp/robur_perftest" -#< goto choose a working-dir for running test - case "${JOB},${BIN_EXT}" in unipi,hvt) "$PERFSCRIPT_DIR"/run-test-remotely.sh "$PERFSCRIPT_DIR"/remote "$PERFDATA_DIR" "$BIN" "$SERVER" "$SERVER_DIR"