##// END OF EJS Templates
run_tests.pl: do not return error code when there are failed tests
Jani Honkonen -
r2079:7d9cfff99e14
parent child
Show More
@@ -65,8 +65,9 while ($testapp = readdir TESTAPPDIR) {
65 }
65 }
66 closedir TESTAPPDIR;
66 closedir TESTAPPDIR;
67
67
68 print "\n*** script exit status : $script_exit_status ***\n\n";
68 # Do not return error codes for bamboo.
69 exit($script_exit_status);
69 # Bamboo will determine test failures by parsing the xml logs.
70 exit(0);
70
71
71
72
72 sub executeTestApp($) {
73 sub executeTestApp($) {
@@ -90,6 +91,5 sub executeTestApp($) {
90 # See wait(2) for details.
91 # See wait(2) for details.
91 my $exit_status = $? >> 8;
92 my $exit_status = $? >> 8;
92 print "\texit status: $exit_status\n";
93 print "\texit status: $exit_status\n";
93
94 return $exit_status;
94 return $exit_status;
95 }
95 }
General Comments 0
You need to be logged in to leave comments. Login now