diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-09-13 14:35:29 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-09-13 11:12:41 +0200 |
commit | 6f2db0e34b5aeeba8d303b8bd82e947a2daa9303 (patch) | |
tree | 688e05eb301dab3205a7a1872932fe813f6e4c26 /hooks | |
parent | 4e9b50f7b653c497b148b0f82260936519bf1337 (diff) | |
download | passt-6f2db0e34b5aeeba8d303b8bd82e947a2daa9303.tar passt-6f2db0e34b5aeeba8d303b8bd82e947a2daa9303.tar.gz passt-6f2db0e34b5aeeba8d303b8bd82e947a2daa9303.tar.bz2 passt-6f2db0e34b5aeeba8d303b8bd82e947a2daa9303.tar.lz passt-6f2db0e34b5aeeba8d303b8bd82e947a2daa9303.tar.xz passt-6f2db0e34b5aeeba8d303b8bd82e947a2daa9303.tar.zst passt-6f2db0e34b5aeeba8d303b8bd82e947a2daa9303.zip |
test: Move perf.js report file to $LOGDIR/web
The tests generate a performance report in $BASEPATH/perf.js and
hooks/pre-push copies it to the website. To avoid cluttering the working
directory, instead put perf.js in $LOGDIR/web, since it's a test output
artefact. Update hooks/pre-push to copy from its new location.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hooks')
-rwxr-xr-x | hooks/pre-push | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hooks/pre-push b/hooks/pre-push index 1c221e7..567a3e5 100755 --- a/hooks/pre-push +++ b/hooks/pre-push @@ -34,8 +34,8 @@ ssh "${USER_HOST}" "mkdir -p ${WEB} ${TEST} ${BIN}" cd test ./ci -gzip -fk9 perf.js -scp perf.js perf.js.gz "${USER_HOST}:${WEB}/" +gzip -fk9 test_logs/web/perf.js +scp test_logs/web/perf.js test_logs/web/perf.js.gz "${USER_HOST}:${WEB}/" scp test_logs/* "${USER_HOST}:${TEST}/" ./run_demo |