fix bug 908
authorAndrey Mazo <mazo@iitp.ru>
Sat, 22 May 2010 09:33:38 -0700
changeset 6315 1f53e122254b
parent 6314 55b81e453f3f
child 6316 8c151e05a19f
fix bug 908
test.py
--- a/test.py	Fri May 21 14:19:15 2010 -0700
+++ b/test.py	Sat May 22 09:33:38 2010 -0700
@@ -1008,6 +1008,9 @@
 
         proc = subprocess.Popen(waf_cmd, shell = True)
         proc.communicate()
+        if proc.returncode:
+            print >> sys.stderr, "Waf died. Not running tests"
+            return proc.returncode
 
     #
     # Pull some interesting configuration information out of waf, primarily