projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wip: smokebuild
[lttng-ci.git]
/
scripts
/
binutils-gdb
/
build.sh
diff --git
a/scripts/binutils-gdb/build.sh
b/scripts/binutils-gdb/build.sh
index 765888c2fc08f1748de3cb0421c865f858bc2645..29027cf842117bb2bb8d5c149569c869aa45f117 100755
(executable)
--- a/
scripts/binutils-gdb/build.sh
+++ b/
scripts/binutils-gdb/build.sh
@@
-207,6
+207,10
@@
if use_ccache; then
ccache -c
fi
ccache -c
fi
+# This job has been seen generating cores in /tmp, filling and and causing
+# problems. Remove any leftover core from a previous job.
+rm /tmp/core.* || true
+
# Enter the source directory
cd "$SRCDIR"
# Enter the source directory
cd "$SRCDIR"
@@
-293,6
+297,9
@@
esac
# Run tests, don't fail now, we know that "make check" is going to fail,
# since some tests don't pass.
# Run tests, don't fail now, we know that "make check" is going to fail,
# since some tests don't pass.
+$MAKE -C gdb/testsuite site.exp
+# shellcheck disable=SC2016
+echo 'set gdb_test_timeout [expr 5 * $timeout]' >> gdb/testsuite/site.exp
$MAKE -C gdb --keep-going check -j "$($NPROC)" RUNTESTFLAGS="$RUNTESTFLAGS" FORCE_PARALLEL="1" || true
# Copy the dejagnu test results for archiving before cleaning the build dir
$MAKE -C gdb --keep-going check -j "$($NPROC)" RUNTESTFLAGS="$RUNTESTFLAGS" FORCE_PARALLEL="1" || true
# Copy the dejagnu test results for archiving before cleaning the build dir
@@
-943,7
+950,7
@@
grep --extended-regexp --regexp="^(FAIL|XPASS|UNRESOLVED|DUPLICATE|ERROR):" "${W
# For informational purposes: check if some known failure lines did not appear
# in the gdb.sum.
echo "Known failures that don't appear in gdb.sum:"
# For informational purposes: check if some known failure lines did not appear
# in the gdb.sum.
echo "Known failures that don't appear in gdb.sum:"
-while read line; do
+while read
-r
line; do
if ! grep --silent --fixed-strings "$line" "${WORKSPACE}/results/gdb.sum"; then
echo "$line"
fi
if ! grep --silent --fixed-strings "$line" "${WORKSPACE}/results/gdb.sum"; then
echo "$line"
fi
This page took
0.024329 seconds
and
4
git commands to generate.