From 84b46c4fdf2b792e44882309d39039ab58a0e823 Mon Sep 17 00:00:00 2001 From: Maxim Kuvyrkov Date: Wed, 11 Aug 2021 15:13:11 +0000 Subject: round-robin.sh (build_abe): Limit GDB testsuites to 16-thread parallelism Change-Id: Ia704e3a1a045427e57c372e50916f5a26f30683a --- round-robin.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/round-robin.sh b/round-robin.sh index 9c2d68e4..cb0ed835 100644 --- a/round-robin.sh +++ b/round-robin.sh @@ -236,6 +236,15 @@ 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. + local cpus=$(cat abe/host.conf | sed -e "s/^cpus=\(.*\)/cpus=16/") + if [ "$cpus" -gt 16 ]; then + sed -i -e "s/^cpus=.*/cpus=16/" abe/host.conf + fi + fi + local project stage action check check=false -- cgit v1.2.3