Revision: 7715
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7715&view=rev
Author:   astraw
Date:     2009-09-08 15:54:06 +0000 (Tue, 08 Sep 2009)

Log Message:
-----------
buildbot: set exit code when running tests

Modified Paths:
--------------
    trunk/matplotlib/test/_buildbot_mac_sage.sh
    trunk/matplotlib/test/_buildbot_test.py

Modified: trunk/matplotlib/test/_buildbot_mac_sage.sh
===================================================================
--- trunk/matplotlib/test/_buildbot_mac_sage.sh 2009-09-08 15:49:37 UTC (rev 
7714)
+++ trunk/matplotlib/test/_buildbot_mac_sage.sh 2009-09-08 15:54:06 UTC (rev 
7715)
@@ -13,4 +13,4 @@
 
 cd test
 rm -f failed-diff-*.png
-python -c "import matplotlib; matplotlib.test(verbosity=2)"
+python -c "import sys, matplotlib; success = matplotlib.test(verbosity=2); 
sys.exit(not success)"

Modified: trunk/matplotlib/test/_buildbot_test.py
===================================================================
--- trunk/matplotlib/test/_buildbot_test.py     2009-09-08 15:49:37 UTC (rev 
7714)
+++ trunk/matplotlib/test/_buildbot_test.py     2009-09-08 15:54:06 UTC (rev 
7715)
@@ -18,5 +18,5 @@
 for fname in previous_test_images:
     os.unlink(fname)
 
-check_call('%s -c "import matplotlib; matplotlib.test(verbosity=2)"'%TARGET_py,
+check_call('%s -c "import sys, matplotlib; success = 
matplotlib.test(verbosity=2); sys.exit(not success)"'%TARGET_py,
            cwd='test')


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to