diff options
Diffstat (limited to 'solenv')
-rw-r--r--[-rwxr-xr-x] | solenv/bin/build.pl | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/solenv/bin/build.pl b/solenv/bin/build.pl index 0ba604d55cec..3b325b62ad98 100755..100644 --- a/solenv/bin/build.pl +++ b/solenv/bin/build.pl @@ -786,6 +786,7 @@ sub dmake_dir { $error_code = run_job($dmake, $job_name); html_store_job_info(\%local_deps_hash, $job_name, $error_code) if (!$child); }; + if ($error_code && $ignore) { push(@ignored_errors, $job_name); $error_code = 0; @@ -802,6 +803,7 @@ sub dmake_dir { }; _exit(0); } elsif ($error_code && ($error_code != -1)) { + $broken_build{$job_name} = $error_code; return $error_code; }; }; @@ -1681,23 +1683,23 @@ sub cancel_build { }; if ($broken_modules_number && $build_all_parents) { - print "\n"; - print $broken_modules_number; - print " module(s): "; + print STDERR "\n"; + print STDERR $broken_modules_number; + print STDERR " module(s): "; foreach (@broken_module_names) { - print "\n\t$_"; + print STDERR "\n\t$_"; }; - print "\nneed(s) to be rebuilt\n\nReason(s):\n\n"; + print STDERR "\nneed(s) to be rebuilt\n\nReason(s):\n\n"; foreach (keys %broken_build) { - print "ERROR: error " . $broken_build{$_} . " occurred while making $_\n"; + print STDERR "ERROR: error " . $broken_build{$_} . " occurred while making $_\n"; }; - print "\nAttention: if you fix the errors in above module(s) you may prolongue your the build issuing command:\n\n\t" . $message_part; + print STDERR "\nAttention: if you fix the errors in above module(s) you may prolongue your the build issuing command:\n\n\t" . $message_part; } else { while (children_number()) { handle_dead_children(1); } foreach (keys %broken_build) { - print "ERROR: error " . $broken_build{$_} . " occurred while making $_\n"; + print STDERR "ERROR: error " . $broken_build{$_} . " occurred while making $_\n"; }; }; print "\n"; @@ -2031,7 +2033,7 @@ sub do_custom_job { }; if ($error_code) { $modules_with_errors{$dependencies_hash}++; - $broken_build{$module} = $error_code; +# $broken_build{$module_job} = $error_code; } else { remove_from_dependencies($module_job, $dependencies_hash); }; |