1
0
Fork 0
mirror of https://passt.top/passt synced 2025-05-31 13:25:34 +02:00

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>
This commit is contained in:
David Gibson 2022-09-13 14:35:29 +10:00 committed by Stefano Brivio
parent 4e9b50f7b6
commit 6f2db0e34b
3 changed files with 4 additions and 4 deletions

View file

@ -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