Bug#878610: gjs: tests are not run

Adrian Bunk bunk at debian.org
Sun Oct 15 09:37:40 UTC 2017


On Sun, Oct 15, 2017 at 01:34:38AM +0200, Michael Biebl wrote:
> Am 15.10.2017 um 01:26 schrieb Adrian Bunk:
> 
> > -#override_dh_auto_test:
> > -#	dh_auto_test || true
> > +override_dh_auto_test:
> > +	make check
> >  
> 
> Would be nice to have support for the nocheck build option.
> Could you update your patch accordingly to wrap that in
> 
> ifeq (, $(filter nocheck, $(DEB_BUILD_OPTIONS)))
> endif	


--- debian/rules.old	2017-10-14 23:06:56.000000000 +0000
+++ debian/rules	2017-10-14 23:41:57.000000000 +0000
@@ -25,8 +25,10 @@
 override_dh_install:
 	dh_install --fail-missing -X.la
 
-#override_dh_auto_test:
-#	dh_auto_test || true
+override_dh_auto_test:
+ifeq (, $(filter nocheck, $(DEB_BUILD_OPTIONS)))
+	make check
+endif
 
 override_dh_makeshlibs:
 	dh_makeshlibs -Xusr/lib/gjs-1.0/ -V'libgjs0g (>= $(DEB_UPSTREAM_VERSION)), libgjs0-$(LIBMOZJS)' -- -c4



cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the pkg-gnome-maintainers mailing list