]> granicus.if.org Git - strace/commitdiff
Add "strace -V" output to build log
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 12 Feb 2018 18:28:16 +0000 (18:28 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 12 Feb 2018 19:54:18 +0000 (19:54 +0000)
* strace.spec.in (%check): Print "strace -V" output before
running the test suite.
* debian/rules (%-stamp): Likewise.

debian/rules
strace.spec.in

index 6c9fbc0534257d119f08f9a4024724cb6b55a9fe..735a51819531fd2e06e8897f24ae5fc10d72cbb9 100755 (executable)
@@ -47,6 +47,7 @@ build-indep: build-stamp $(extra_build_targets)
 %-stamp: %/Makefile
        $(MAKE) -C $*
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+       $*/strace -V
        $(MAKE) -C $* check VERBOSE=1
 endif
        touch $@
index 2a7ded7411449fb909b3c0ae6197b0d0ef010910..3e41f1b5d5b350ff9b0d627cf61ba3744558a31e 100644 (file)
@@ -86,6 +86,7 @@ rm -f %{buildroot}%{_bindir}/strace-graph
 %endif
 
 %check
+%{buildroot}%{_bindir}/strace -V
 make %{?_smp_mflags} -k check VERBOSE=1
 echo 'BEGIN OF TEST SUITE INFORMATION'
 tail -n 99999 -- tests*/test-suite.log tests*/ksysent.log