[totem/wip/hadess/meson-hang-debug] fixup! XXX gst-inspect debug




commit f22a6f2c74245d193f250da83a326a30c3241bc2
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Jan 10 17:43:08 2022 +0100

    fixup! XXX gst-inspect debug

 .gitlab-ci.yml                   | 5 ++++-
 src/backend/gst-inspect-debug.sh | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fc42b6c54..8141f347f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -42,7 +42,7 @@ build-fedora:
   image: fedora:35
   stage: test
   before_script:
-    - dnf install --setopt=install_weak_deps=False -y $FEDORA_DEPS coreutils tree
+    - dnf install --setopt=install_weak_deps=False -y $FEDORA_DEPS coreutils tree psmisc
     # See https://bugzilla.redhat.com/show_bug.cgi?id=1896438
     - dnf remove -y pylint
     # Update meson
@@ -50,6 +50,9 @@ build-fedora:
     - dnf install -y python3-pip
     - pip3 install --pre meson
   script:
+    - GST_DEBUG=*:9 gst-inspect-1.0 &
+    - sleep 60
+    - killall -9 gst-inspect-1.0
     - mkdir -p ${CI_PROJECT_DIR}/_build/meson-logs
     - meson setup _build -Dhelp=true -Denable-gtk-doc=true -Denable-easy-codec-installation=yes 
-Denable-python=yes -Dprofile=default &
     - sleep 60
diff --git a/src/backend/gst-inspect-debug.sh b/src/backend/gst-inspect-debug.sh
index 9c8d25e97..da5ef8a8d 100755
--- a/src/backend/gst-inspect-debug.sh
+++ b/src/backend/gst-inspect-debug.sh
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-GST_DEBUG=*:5 gst-inspect-1.0 "$1" > $MESON_BUILD_ROOT/meson-logs/gst-inspect-$1-log.txt
+GST_DEBUG=*:9 gst-inspect-1.0 "$1" > $MESON_BUILD_ROOT/meson-logs/gst-inspect-$1-log.txt


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]