packaging/perftest.sh: Renaming of run-test.sh to not name-collide with unipi script + passing server-dir

This commit is contained in:
rand00 2022-12-21 12:50:09 +01:00
parent 3aea44f661
commit d2d1068d10

View file

@ -118,12 +118,15 @@ if [ -d "$PERFDATA_DIR" ]; then
fi; fi;
#< goto maybe add a 'force' param to rerun test + regenerate plot #< 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 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 case "${JOB},${BIN_EXT}" in
unipi,hvt) 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" "$PERFSCRIPT_DIR"/plot.sh "$PERFJOB_DIR" "$CACHE_DIR" "$DB" "$JOB" "$UUID"
;; ;;
*) *)