summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-12-21 13:03:50 +0100
committerLuboš Luňák <l.lunak@suse.cz>2012-12-25 21:53:47 +0100
commitcf5aae8f3eec0cda704414dbe19d37373d9efc08 (patch)
tree8c0083ca123d4f8d6219a66a8aef5bcdf9850473 /bin
parentb0f9213bfc9bd7045c1c5a608aa9446c1d5f8a08 (diff)
remove remaining mentions of build_error.log
I'ts been removed in LO master, and at least false negatives detection here still depended on it.
Diffstat (limited to 'bin')
-rw-r--r--bin/tinbuild_internals.sh15
-rw-r--r--bin/tinbuild_phases.sh6
2 files changed, 5 insertions, 16 deletions
diff --git a/bin/tinbuild_internals.sh b/bin/tinbuild_internals.sh
index 2150983..d1decc8 100644
--- a/bin/tinbuild_internals.sh
+++ b/bin/tinbuild_internals.sh
@@ -885,12 +885,7 @@ run_tb_gerrit_loop()
printf "${report_msgs?}:\n\n" > report_error.log
echo "======" >> report_error.log
if [ "${report_log?}" == "tb_${B}_build.log" ] ; then
- if [ -f build_error.log ]; then
- cat build_error.log | grep -C10 "^[^[]" >> report_error.log
- tail -n50 ${report_log?} | grep -A25 'internal build errors' | grep 'ERROR:' >> report_error.log
- else
- tail -n1000 ${report_log?} >> report_error.log
- fi
+ tail -n1000 ${report_log?} >> report_error.log
else
cat ${report_log?} >> report_error.log
fi
@@ -1046,13 +1041,7 @@ run_tb_loop()
printf "${report_msgs?}:\n\n" > report_error.log
echo "======" >> report_error.log
if [ "${report_log?}" == "tb_${B}_build.log" ] ; then
- if [ -f build_error.log ]; then
- cat build_error.log | grep -C10 "^[^[]" >> report_error.log
- tail -n50 ${report_log?} | grep -A25 'internal build errors' | grep 'ERROR:' >> report_error.log
- else
- tail -n1000 ${report_log?} >> report_error.log
- fi
-
+ tail -n1000 ${report_log?} >> report_error.log
else
cat ${report_log?} >> report_error.log
fi
diff --git a/bin/tinbuild_phases.sh b/bin/tinbuild_phases.sh
index 76b877d..6c1adbf 100644
--- a/bin/tinbuild_phases.sh
+++ b/bin/tinbuild_phases.sh
@@ -29,7 +29,7 @@ do_autogen()
pre_clean()
{
if [ "${retval}" = "0" ] ; then
- rm -f build_error.log
+ true # log files to clean, if any
fi
}
@@ -86,9 +86,9 @@ do_test()
post_make()
{
if [ "${retval}" != "0" ] ; then
- if [ -f build_error.log ] ; then
+ if [ -f "${report_log?}" ] ; then
if [ -f $HOME/.tinbuild/config/${PROFILE_NAME?}.false_negatives ] ; then
- grep -F "$(cat $HOME/.tinbuild/config/${PROFILE_NAME?}.false_negatives)" build_error.log && retval="false_negative"
+ grep -F "$(cat $HOME/.tinbuild/config/${PROFILE_NAME?}.false_negatives)" "${report_log?}" && retval="false_negative"
if [ "${retval?}" == "false_negative" ] ; then
log_msgs "False negative detected"
fi