[pitivi] tests: Dump test output on failure by default



commit 07b0722fe2025a3f611c90ecb9404886929632e2
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Tue Apr 12 11:30:32 2022 +0200

    tests: Dump test output on failure by default

 bin/pitivi-env  | 2 +-
 docs/Testing.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/bin/pitivi-env b/bin/pitivi-env
index a814a9aa7..efe0fe5a4 100755
--- a/bin/pitivi-env
+++ b/bin/pitivi-env
@@ -48,7 +48,7 @@ then
     # We could get rid of these, but some devs like them.
     alias build="ptvenv ninja -C mesonbuild/"
     alias binstall="ptvenv ninja -C mesonbuild/ install"
-    alias ptvtests="ptvenv gst-validate-launcher $PITIVI_REPO_DIR/tests/ptv_testsuite.py"
+    alias ptvtests="ptvenv gst-validate-launcher $PITIVI_REPO_DIR/tests/ptv_testsuite.py --dump-on-failure"
 
     # Prefer to run some binaries in the sandbox.
     for i in `$PITIVI_REPO_DIR/build/flatpak/pitivi-flatpak -q ls /app/bin/`
diff --git a/docs/Testing.md b/docs/Testing.md
index ad04cebcf..f4f9c5a93 100644
--- a/docs/Testing.md
+++ b/docs/Testing.md
@@ -40,7 +40,7 @@ replace `ptvtests` with `gst-validate-launcher tests/ptv_testsuite.py`.
 
 ```
 $ alias ptvtests
-ptvtests='ptvenv gst-validate-launcher /.../pitivi-dev/pitivi/tests/ptv_testsuite.py'
+ptvtests='ptvenv gst-validate-launcher /.../pitivi-dev/pitivi/tests/ptv_testsuite.py --dump-on-failure'
 ```
 
 ### Writing unit tests


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