From 6f2db0e34b5aeeba8d303b8bd82e947a2daa9303 Mon Sep 17 00:00:00 2001 From: David Gibson Date: Tue, 13 Sep 2022 14:35:29 +1000 Subject: 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 --- hooks/pre-push | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hooks') 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 -- cgit v1.2.3