]> granicus.if.org Git - python/commitdiff
- Makefile.pre.in(buildbottest): Run an optional script pybuildbot.identify
authorMatthias Klose <doko@ubuntu.com>
Tue, 4 Sep 2007 18:17:36 +0000 (18:17 +0000)
committerMatthias Klose <doko@ubuntu.com>
Tue, 4 Sep 2007 18:17:36 +0000 (18:17 +0000)
  to include some information about the build environment.

Makefile.pre.in
Misc/NEWS

index e2082d96f410e9b98b7fba7c16ec19da77070715..4e5644d5c3e955412143c1b0a54c39c1ec41ac45 100644 (file)
@@ -601,7 +601,11 @@ testuniversal:     all platform
 
 
 # Like testall, but with a single pass only
+# run an optional script to include some information about the build environment
 buildbottest:  all platform
+               -@if which pybuildbot.identify >/dev/null 2>&1; then \ 
+                       pybuildbot.identify "CC=$(CC)" "CXX=$(CXX)"; \ 
+               fi 
                $(TESTPYTHON) $(TESTPROG) $(TESTOPTS) -uall -rw
 
 QUICKTESTOPTS= $(TESTOPTS) -x test_thread test_signal test_strftime \
index d99e7bcdfdd1ba14d3024a9d92b069dacb4d8f44..6cfd4fd171de36f422cbab5329010367372ea47e 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -996,6 +996,9 @@ Build
 
 - Allow Emacs 22 for building the documentation in info format.
 
+- Makefile.pre.in(buildbottest): Run an optional script pybuildbot.identify
+  to include some information about the build environment.
+
 C API
 -----