mailr2473 - /1.2/test_suite/test_suite.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on April 16, 2006 - 15:59:
Author: bugman
Date: Sun Apr 16 15:58:51 2006
New Revision: 2473

URL: http://svn.gna.org/viewcvs/relax?rev=2473&view=rev
Log:
The test suite now terminates on a failed test if the flag '--debug' is 
passed to relax.


Modified:
    1.2/test_suite/test_suite.py

Modified: 1.2/test_suite/test_suite.py
URL: 
http://svn.gna.org/viewcvs/relax/1.2/test_suite/test_suite.py?rev=2473&r1=2472&r2=2473&view=diff
==============================================================================
--- 1.2/test_suite/test_suite.py (original)
+++ 1.2/test_suite/test_suite.py Sun Apr 16 15:58:51 2006
@@ -232,6 +232,10 @@
             # Print out.
             sys.stdout.write("\n\n\n\n\n\n\n")
 
+            # Debugging.
+            if not test_array[i].passed and Debug:
+                sys.exit()
+
 
     def summary(self):
         """Function for printing out a summary of all tests."""




Related Messages


Powered by MHonArc, Updated Sun Apr 16 16:20:04 2006