diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-09-13 14:35:28 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-09-13 11:12:41 +0200 |
commit | 4e9b50f7b653c497b148b0f82260936519bf1337 (patch) | |
tree | 0eb24acb3cde18afe212488379b7b59729a6f825 /test/lib/term | |
parent | ec6af08ca778aa51517c49d69bc9acda08666790 (diff) | |
download | passt-4e9b50f7b653c497b148b0f82260936519bf1337.tar passt-4e9b50f7b653c497b148b0f82260936519bf1337.tar.gz passt-4e9b50f7b653c497b148b0f82260936519bf1337.tar.bz2 passt-4e9b50f7b653c497b148b0f82260936519bf1337.tar.lz passt-4e9b50f7b653c497b148b0f82260936519bf1337.tar.xz passt-4e9b50f7b653c497b148b0f82260936519bf1337.tar.zst passt-4e9b50f7b653c497b148b0f82260936519bf1337.zip |
test: Move video processing files to $STATEBASE
The asciinema video handling creates a number of temporary files (.uncat,
.start, .stop) which currently go into the source tree. Put them in the
temporary state directory to avoid clutter.
The final processed output is now placed into test_logs/web/ along with the
corresponding .js file with links, since they're essentially test
artefacts. hooks/pre-push is updated to look for those files in the new
location when updating the web site.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'test/lib/term')
-rwxr-xr-x | test/lib/term | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/lib/term b/test/lib/term index c9720be..b31deac 100755 --- a/test/lib/term +++ b/test/lib/term @@ -643,12 +643,12 @@ run_term() { if [ ${CI} -eq 1 ]; then printf '\e[8;50;240t' - asciinema rec --overwrite ci.uncut -c "$TMUX /bin/sh -c './ci from_term'" - video_postprocess ci.uncut + asciinema rec --overwrite "${STATEBASE}/ci.uncut" -c "$TMUX /bin/sh -c './ci from_term'" + video_postprocess "${STATEBASE}/ci.uncut" elif [ ${DEMO} -eq 1 ]; then printf '\e[8;40;130t' - asciinema rec --overwrite demo.uncut -c "$TMUX /bin/sh -c './run_demo from_term'" - video_postprocess demo.uncut + asciinema rec --overwrite "${STATEBASE}/demo.uncut" -c "$TMUX /bin/sh -c './run_demo from_term'" + video_postprocess "${STATEBASE}/demo.uncut" else $TMUX /bin/sh -c './run from_term' fi |