Revision: 7537
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7537&view=rev
Author: astraw
Date: 2009-08-23 05:36:23 +0000 (Sun, 23 Aug 2009)
Log Message:
-----------
test script exits with non-zero exit code upon failure
Modified Paths:
--------------
trunk/matplotlib/test/run-mpl-test.py
Modified: trunk/matplotlib/test/run-mpl-test.py
===================================================================
--- trunk/matplotlib/test/run-mpl-test.py 2009-08-23 05:27:40 UTC (rev
7536)
+++ trunk/matplotlib/test/run-mpl-test.py 2009-08-23 05:36:23 UTC (rev
7537)
@@ -89,8 +89,8 @@
sys.exit( 0 )
### Run nose
-nose.run( argv = args,
- plugins = [ MplNosePlugin() ] )
+success = nose.run( argv = args,
+ plugins = [ MplNosePlugin() ] )
### do other stuff here
@@ -104,3 +104,4 @@
sys.stdout = originalStdout
sys.stderr = originalStderr
+sys.exit(not success)
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