]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
CI: Never run the test suites of subprojects
authorSimon McVittie <smcv@collabora.com>
Thu, 27 Feb 2025 19:16:02 +0000 (19:16 +0000)
committerSimon McVittie <smcv@collabora.com>
Thu, 27 Feb 2025 19:27:06 +0000 (19:27 +0000)
Some of them fail when run on Windows, and debugging the test suite
for a subproject is out-of-scope for dbus.

Signed-off-by: Simon McVittie <smcv@collabora.com>
.gitlab-ci.yml
tools/ci-build.sh

index 2aaed0cf009d7fc14fd95bd4068edf877b0e010b..3a099c944a1fe60cbcfcb21f3205e21fb4132ebb 100644 (file)
@@ -201,7 +201,7 @@ debian meson clang debug:
     - tar --strip-components=1 -C test/use-as-subproject/subprojects/dbus -xf $ci_builddir/meson-dist/*.tar.xz
     - meson setup --wrap-mode=forcefallback test/use-as-subproject/_build test/use-as-subproject
     - meson compile -C test/use-as-subproject/_build
-    - meson test -C test/use-as-subproject/_build
+    - "meson test -C test/use-as-subproject/_build dbus:"
 
 debian meson reduced:
   extends:
@@ -387,7 +387,7 @@ windows-meson-mingw-ucrt64:
     - C:\msys64\usr\bin\bash -lc "
         meson build &&
         ninja -j1 -C build &&
-        meson test --no-suite=runs-dbus-daemon -C build"
+        meson test --no-suite=runs-dbus-daemon -C build dbus:"
   artifacts:
     reports:
       junit: "build/meson-logs/testlog.junit.xml"
@@ -406,7 +406,7 @@ windows-meson-vs15-x86:
     - cmd.exe /C "C:\BuildTools\Common7\Tools\VsDevCmd.bat -host_arch=amd64 -arch=x86 &&
         meson --force-fallback-for=expat,glib,zlib build &&
         meson compile -C build &&
-        meson test --no-suite=runs-dbus-daemon -C build"
+        meson test --no-suite=runs-dbus-daemon -C build dbus:"
   artifacts:
     reports:
       junit: "build/meson-logs/testlog.junit.xml"
index 40c1598b0e6b0457ba5a01ca10c3d1bacd0a3d45..b258c951251c94892610db3378dd74ea105e5b5c 100755 (executable)
@@ -465,7 +465,7 @@ case "$ci_buildsys" in
         # This is too slow and verbose to keep enabled at the moment
         export DBUS_TEST_MALLOC_FAILURES=0
 
-        [ "$ci_test" = no ] || meson test --print-errorlogs
+        [ "$ci_test" = no ] || meson test dbus: --print-errorlogs
         DESTDIR=DESTDIR meson install
         ( cd DESTDIR && find . -ls)