]> xenbits.xensource.com Git - qemu-xen.git/commit
tests/avocado: excercise scripts/replay-dump.py in replay tests
authorNicholas Piggin <npiggin@gmail.com>
Tue, 13 Aug 2024 20:23:19 +0000 (21:23 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 16 Aug 2024 13:04:19 +0000 (14:04 +0100)
commit4926b6e6444ffcfcea6f60b855debca88bf9db2e
tree251027f479843a5edb8fc71be520dd4a82ebd10e
parent01a385fb49cdc56f44291037d08f4d78fbea941b
tests/avocado: excercise scripts/replay-dump.py in replay tests

This runs replay-dump.py after recording a trace, and fails the test if
the script fails.

replay-dump.py is modified to exit with non-zero if an error is
encountered while parsing, to support this.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
gitlab with this change

v5: Update timeout to 180s because x86 was just exceeding 120s in
Message-Id: <20240813050638.446172-4-npiggin@gmail.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240813202329.1237572-12-alex.bennee@linaro.org>
scripts/replay-dump.py
tests/avocado/replay_kernel.py
tests/avocado/replay_linux.py