[libxslt] Make CI tests exit on failure



commit d96e12493909d878805407f3dfdcb63ace35a831
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Tue Aug 30 04:16:00 2022 +0200

    Make CI tests exit on failure
    
    GitLab multiline commands only test the return code of the last command.

 .gitlab-ci.yml            | 2 +-
 tests/plugins/Makefile.am | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2c3e0363..9c48602b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,7 +16,7 @@
       make -j$(nproc) -C tests/fuzz V=1 CFLAGS="$CFLAGS -Werror" testTargets
       make -s -C tests tests | tee test.log
       make -s -C xsltproc tests | tee -a test.log
-      ! grep -qv '^## Running' test.log
+      grep -qv '^## Running' test.log && exit 1
       make -s -C python tests
 
 gcc:
diff --git a/tests/plugins/Makefile.am b/tests/plugins/Makefile.am
index e0736ab9..70f688bc 100644
--- a/tests/plugins/Makefile.am
+++ b/tests/plugins/Makefile.am
@@ -36,7 +36,6 @@ test tests: $(top_builddir)/xsltproc/xsltproc test-logall $(noinst_LTLIBRARIES)
 else
 
 test tests:
-       @echo Skipping the plugin tests.
 
 endif
 


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