This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=e38c8863692dfb0f507e6812e779a9074e8c0d44

commit e38c8863692dfb0f507e6812e779a9074e8c0d44
Author: Guillem Jover <[email protected]>
AuthorDate: Sat Oct 21 03:04:34 2023 +0200

    build: Split sanitizer unit tests from author checks
    
    For the same reason we recently reverted the sanitizer tests in
    commit 90cadbc8698fc7e3ca0cf018a2534c8874ef7376 for the functional
    side of the test suite, we should not be running any other tests
    that are functional in nature.
    
    Split the author checks to be the main full test suite driver, and
    restrict the unit-tests to enable the sanitizer only for the lib/
    unit tests.
---
 .gitlab-ci.yml | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e0e6c1883..a7131dcd6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,14 +16,21 @@ dist-check:
     - ./configure
     - make distcheck
 
-# Test whether the unit tests pass.
-unit-tests:
+# Test whether the author checks pass.
+author-check:
   stage: test
   script:
     - eatmydata apt -P pkg.dpkg.author-testing build-dep -qq -y .
-    - ./configure --enable-compiler-sanitizer
+    - ./configure
     - make authorcheck TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc)
 
+# Test whether the sanitized unit tests pass.
+unit-tests:
+  stage: test
+  script:
+    - ./configure --enable-compiler-sanitizer
+    - make -C lib check TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc)
+
 # Test whether the unit tests pass on a VPATH build.
 vpath-tests:
   stage: test

-- 
Dpkg.Org's dpkg

Reply via email to