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."""