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

Makefile.pre.in
Misc/NEWS

index 0e4baad101ec3e3d361300e6bcffbfe24f7fa5a2..d2250bb16765d80ea69a899b5c21f8941cc68814 100644 (file)
@@ -597,7 +597,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 9f4a22866fadaf2bd15236f662c4176230603735..d397a5c15b7f53a623e21a7956c581f495f2afdc 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -133,6 +133,8 @@ 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.
 
 What's New in Python 2.5.1?
 =============================