mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
citemplate: set PYTHONFAULTHANDLER for tests
In case python segfaults, which might happen for things with a C-FFI like pygobject, make it so we get a proper backtrace. https://docs.python.org/3/using/cmdline.html#envvar-PYTHONFAULTHANDLER Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/341>
This commit is contained in:
parent
dec76861ea
commit
386e40c22e
1 changed files with 3 additions and 0 deletions
|
@ -510,6 +510,9 @@ build clang fedora x86_64:
|
||||||
GST_VALIDATE_LAUNCHER_FORCE_COLORS: "true"
|
GST_VALIDATE_LAUNCHER_FORCE_COLORS: "true"
|
||||||
TIMEOUT_FACTOR: "2"
|
TIMEOUT_FACTOR: "2"
|
||||||
CARGO_HOME: "/cache/gstreamer/cargo"
|
CARGO_HOME: "/cache/gstreamer/cargo"
|
||||||
|
# Enable the fault handler so we get backtraces on segfaults.
|
||||||
|
# any non-empty string will do
|
||||||
|
PYTHONFAULTHANDLER: "enabled"
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-examples|gst-docs)$/'
|
- if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-examples|gst-docs)$/'
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in a new issue