summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-09-02 18:34:28 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-09-02 18:34:28 +0000
commitfb0dd6f1c419a8f6c3085560c2d0fc3569710b33 (patch)
tree829293f88ed88b5d22f4c4116b1ad869bb21b95b
parent13381e7b276e95a22352acd0c48c6b044af356ba (diff)
round-robin.sh: Run GDB testsuites single-threaded
Change-Id: I88b03bdc3d31671b96c603899fab20a28e2cf49d
-rw-r--r--round-robin.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/round-robin.sh b/round-robin.sh
index df2b22ca..062204fb 100644
--- a/round-robin.sh
+++ b/round-robin.sh
@@ -233,13 +233,16 @@ build_abe ()
local component="$1"
if [ x"$component" = x"check_gdb" ]; then
- # Limit GDB testsuites to 16-thread parallelism. Running them
- # with greater parallelism makes them too unstable.
+ # Limit GDB testsuites to single-thread parallelism.
+ # We've tried running GDB testsuites with 16-thread parallelism,
+ # but could not shake out flaky tests in the course of several weeks.
+ # Try stabilizing GDB testsuites with single-thread parallelism.
+ # If this doesn't work, we'll have to look into dejagnu.
local cpus
cpus=$(cat abe/host.conf | grep "^cpus=" | sed -e "s/^cpus=\(.*\)/\1/")
- if [ "$cpus" -gt 16 ]; then
+ if [ "$cpus" -gt 1 ]; then
cp abe/host.conf abe/host.conf.orig
- sed -i -e "s/^cpus=.*/cpus=16/" abe/host.conf
+ sed -i -e "s/^cpus=.*/cpus=1/" abe/host.conf
fi
elif [ -f abe/host.conf.orig ]; then
mv abe/host.conf.orig abe/host.conf