aboutgitcodebugslistschat
path: root/test/run
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-02-22 18:29:45 +0100
committerStefano Brivio <sbrivio@redhat.com>2022-02-22 18:36:24 +0100
commit337f55166f6db7ee3f6e6e253ce786b3b6606216 (patch)
tree6f6c02ed1cae7a5130789497438b98b5332c8a74 /test/run
parentbe2a7898e9de236da7c42d1fb37a5a2017ac192b (diff)
downloadpasst-337f55166f6db7ee3f6e6e253ce786b3b6606216.tar
passt-337f55166f6db7ee3f6e6e253ce786b3b6606216.tar.gz
passt-337f55166f6db7ee3f6e6e253ce786b3b6606216.tar.bz2
passt-337f55166f6db7ee3f6e6e253ce786b3b6606216.tar.lz
passt-337f55166f6db7ee3f6e6e253ce786b3b6606216.tar.xz
passt-337f55166f6db7ee3f6e6e253ce786b3b6606216.tar.zst
passt-337f55166f6db7ee3f6e6e253ce786b3b6606216.zip
demo, ci: Switch to asciinema(1) for terminal recordings
For demos, cool-retro-term(1) looked fancier, but several threads of that and ffmpeg(1) are just messing up with performance testing. The CI videos started getting really big as well, and they were difficult to read. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/run')
-rwxr-xr-xtest/run16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/run b/test/run
index c91122d..385267e 100755
--- a/test/run
+++ b/test/run
@@ -60,7 +60,7 @@ run() {
term
perf_init
- [ ${CI} -eq 1 ] && video_grab ci
+ [ ${CI} -eq 1 ] && video_start ci
setup build
test build
@@ -94,7 +94,7 @@ run() {
teardown two_guests
perf_finish
- [ ${CI} -eq 1 ] && video_stop ${STATUS_FAIL}
+ [ ${CI} -eq 1 ] && video_stop
log "PASS: ${STATUS_PASS}, FAIL: ${STATUS_FAIL}"
@@ -117,24 +117,24 @@ demo() {
term_demo
layout_demo_passt
- video_grab demo_passt
+ video_start demo_passt
MODE=passt
test demo
- video_stop 0
+ video_stop
teardown demo_passt
layout_demo_pasta
- video_grab demo_pasta
+ video_start demo_pasta
MODE=pasta
test demo
- video_stop 0
+ video_stop
teardown demo_pasta
layout_demo_podman
- video_grab demo_podman
+ video_start demo_podman
MODE=podman
test demo
- video_stop 0
+ video_stop
teardown_demo_podman
return 0