mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-06 20:00:05 +00:00
ci: print stack traces on macOS if any tests fail
Mostly the tests should fail cleanly, but sometimes the test might crash or abort. In this case we'll need to know the stack traces in order to debug the problem. Fortunately on the Cirrus CI macOS instances, the crash reporting service is active and saving crashes to the directory ~/Library/Logs/DiagnosticReports/ Reviewed-by: Peter Krempa <pkrempa@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
297ef539d0
commit
d4d5cebdf1
@ -26,4 +26,4 @@ build_task:
|
||||
- meson setup build
|
||||
- meson dist -C build --no-tests
|
||||
- meson compile -C build
|
||||
- meson test -C build --no-suite syntax-check --print-errorlogs
|
||||
- meson test -C build --no-suite syntax-check --print-errorlogs || (cat ~/Library/Logs/DiagnosticReports/*.crash && exit 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user