Source: gtg-trace
Version: 0.2-3-3
Tags: patch

Hi Maintainer

gtg-trace does not honour the 'nocheck' build option, and 'make -C
test check' is always executed.

Please modify debian/rules with something similar to the patch below,
or bump debhelper-compat (= 13), where this is done automatically.

Regards
Graham


 override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
     echo "Running MPI smoketest, don't report failure here to
gtg-trace, but to the mpi implementation"
     mpicc debian/test-mpi.c $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o debian/test-mpi
     mpirun --host localhost:2 -np 2 debian/test-mpi | grep 1/2
     echo MPI smoketest OK

     make -C test check
+endif

Reply via email to