d/rules: Enable running tests concurrently
authorArto Jantunen <viiru@debian.org>
Wed, 3 Apr 2024 06:52:13 +0000 (09:52 +0300)
committerSean Whitton <spwhitton@spwhitton.name>
Sun, 14 Apr 2024 05:24:05 +0000 (13:24 +0800)
debian/rules

index 38965316f3dc226a833f5dc98e91a21b3938ee8c..b7ab47c912f7caf10f969f8cdbef3e770b6abe78 100755 (executable)
@@ -362,10 +362,10 @@ override_dh_auto_build: debian/stamp-configured
 
 override_dh_auto_test:
   ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-       $(MAKE) -C debian/build-lucid check
-       $(MAKE) -C debian/build-nox check
-       $(MAKE) -C debian/build-gtk check
-       $(MAKE) -C debian/build-pgtk check
+       $(MAKE) -C debian/build-lucid -j $(joblimit) check
+       $(MAKE) -C debian/build-nox -j $(joblimit) check
+       $(MAKE) -C debian/build-gtk -j $(joblimit) check
+       $(MAKE) -C debian/build-pgtk -j $(joblimit) check
   endif
 
 ifdef deb_native_compilation_enabled