Commit 386e40c2 authored by Jordan Petridіs's avatar Jordan Petridіs 🌱 Committed by GStreamer Marge Bot
Browse files

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: <!341>
parent dec76861
Pipeline #204163 failed with stages
in 36 minutes and 5 seconds
......@@ -510,6 +510,9 @@ build clang fedora x86_64:
GST_VALIDATE_LAUNCHER_FORCE_COLORS: "true"
TIMEOUT_FACTOR: "2"
CARGO_HOME: "/cache/gstreamer/cargo"
# Enable the fault handler so we get backtraces on segfaults.
# any non-empty string will do
PYTHONFAULTHANDLER: "enabled"
rules:
- if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-examples|gst-docs)$/'
script:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment