Author: bugman Date: Thu Mar 8 07:29:01 2007 New Revision: 3117 URL: http://svn.gna.org/viewcvs/relax?rev=3117&view=rev Log: Fix for bug #8682 (https://gna.org/bugs/index.php?8682). The flag 'global_pass' in the summary() method of the system/functional tests had never been set up! Modified: 1.3/test_suite/system_tests/main.py Modified: 1.3/test_suite/system_tests/main.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/main.py?rev=3117&r1=3116&r2=3117&view=diff ============================================================================== --- 1.3/test_suite/system_tests/main.py (original) +++ 1.3/test_suite/system_tests/main.py Thu Mar 8 07:29:01 2007 @@ -279,8 +279,8 @@ sys.stdout.write("\n\n\n") heading("Results of the test suite") - # Flag for all tests. - self.global_pass = 1 + # Synopsis. + global_pass = 1 # Run tests. @@ -291,6 +291,10 @@ # Loop over the tests. for test in self.run_test_array: + # Synopsis. + global_pass = global_pass and test.passed + + # Print the summary line. summary_line(test.name, test.passed) @@ -302,6 +306,10 @@ # Loop over the tests. for test in self.seq_test_array: + # Synopsis. + global_pass = global_pass and test.passed + + # Print the summary line. summary_line(test.name, test.passed) @@ -313,6 +321,10 @@ # Loop over the tests. for test in self.diff_tensor_test_array: + # Synopsis. + global_pass = global_pass and test.passed + + # Print the summary line. summary_line(test.name, test.passed) @@ -324,6 +336,10 @@ # Loop over the tests. for test in self.angles_test_array: + # Synopsis. + global_pass = global_pass and test.passed + + # Print the summary line. summary_line(test.name, test.passed) @@ -335,6 +351,10 @@ # Loop over the tests. for test in self.relax_fit_test_array: + # Synopsis. + global_pass = global_pass and test.passed + + # Print the summary line. summary_line(test.name, test.passed) @@ -346,6 +366,10 @@ # Loop over the tests. for test in self.mf_test_array: + # Synopsis. + global_pass = global_pass and test.passed + + # Print the summary line. summary_line(test.name, test.passed) @@ -357,6 +381,10 @@ # Loop over the tests. for test in self.jw_test_array: + # Synopsis. + global_pass = global_pass and test.passed + + # Print the summary line. summary_line(test.name, test.passed) @@ -368,6 +396,10 @@ # Loop over the tests. for test in self.modsel_test_array: + # Synopsis. + global_pass = global_pass and test.passed + + # Print the summary line. summary_line(test.name, test.passed) @@ -379,6 +411,10 @@ # Loop over the tests. for test in self.generic_test_array: + # Synopsis. + global_pass = global_pass and test.passed + + # Print the summary line. summary_line(test.name, test.passed) @@ -393,7 +429,7 @@ sys.stdout.write(".") # Global pass. - if self.global_pass: + if global_pass: sys.stdout.write(" %-10s\n" % "[ OK ]") # Global fail.