packaging/perftest.sh: Passing dependencies to unipi perftest scripts
This commit is contained in:
parent
0176e8c5bb
commit
13612c59a5
1 changed files with 5 additions and 4 deletions
|
@ -100,16 +100,17 @@ PERFDATA_DIR="$DATA_DIR/_performance/$JOB/$BIN_SHA256"
|
||||||
PERFSCRIPT_DIR="$DATA_DIR/_performance/$JOB"
|
PERFSCRIPT_DIR="$DATA_DIR/_performance/$JOB"
|
||||||
#< goto think if this dir makes the most sense
|
#< goto think if this dir makes the most sense
|
||||||
|
|
||||||
|
SERVER="not-defined"
|
||||||
|
#< goto set test-server ip somewhere - environment variable, or manually set here?
|
||||||
|
|
||||||
case "${JOB},${BIN_EXT}" in
|
case "${JOB},${BIN_EXT}" in
|
||||||
unipi,hvt)
|
unipi,hvt)
|
||||||
if [ -d "$PERFDATA_DIR" ]; then
|
if [ -d "$PERFDATA_DIR" ]; then
|
||||||
info "$PERFDATA_DIR already exists, exiting"
|
info "$PERFDATA_DIR already exists, exiting"
|
||||||
exit 0
|
exit 0
|
||||||
fi;
|
fi;
|
||||||
#> goto pass [ server-ip; ]
|
"$PERFSCRIPT_DIR"/run-test.sh "$PERFDATA_DIR" "$PERFSCRIPT_DIR" "$SERVER" "$BIN"
|
||||||
"$PERFSCRIPT_DIR"/run-test.sh "$PERFDATA_DIR"
|
"$PERFSCRIPT_DIR"/plot.sh "$PERFDATA_DIR" "$CACHE_DIR" "$DB"
|
||||||
#> goto pass [ cache-dir; ]
|
|
||||||
"$PERFSCRIPT_DIR"/plot.sh "$PERFDATA_DIR"
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
info "Job '${JOB}' compiled to the '${BIN_EXT}'-target doesn't support performance-testing"
|
info "Job '${JOB}' compiled to the '${BIN_EXT}'-target doesn't support performance-testing"
|
||||||
|
|
Loading…
Reference in a new issue