From d2d1068d100f0e3505ef42453c9a79452dfa1162 Mon Sep 17 00:00:00 2001 From: rand00 Date: Wed, 21 Dec 2022 12:50:09 +0100 Subject: [PATCH] packaging/perftest.sh: Renaming of run-test.sh to not name-collide with unipi script + passing server-dir --- packaging/perftest.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packaging/perftest.sh b/packaging/perftest.sh index 14e53f0..013fb11 100755 --- a/packaging/perftest.sh +++ b/packaging/perftest.sh @@ -118,12 +118,15 @@ if [ -d "$PERFDATA_DIR" ]; then fi; #< goto maybe add a 'force' param to rerun test + regenerate plot -SERVER="not-defined" +SERVER="undefined" #< 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="undefined" +#< goto choose a working-dir for running test case "${JOB},${BIN_EXT}" in unipi,hvt) - "$PERFSCRIPT_DIR"/run-test.sh "$PERFJOB_DIR" "$PERFDATA_DIR" "$BIN" "$SERVER" + "$PERFSCRIPT_DIR"/run-test-on-vm.sh "$PERFSCRIPT_DIR" "$PERFDATA_DIR" "$BIN" "$SERVER" "$SERVER_DIR" "$PERFSCRIPT_DIR"/plot.sh "$PERFJOB_DIR" "$CACHE_DIR" "$DB" "$JOB" "$UUID" ;; *)