Bug#1091443: gtg-trace: does not honour 'nocheck' build option
From
Graham Inggs@21:1/5 to
All on Thu Dec 26 12:50:02 2024
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
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)