diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2021-08-11 15:13:11 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2021-08-11 15:13:11 +0000 |
commit | 84b46c4fdf2b792e44882309d39039ab58a0e823 (patch) | |
tree | de9c0735b494ffcb5165db306f065503cff25be3 | |
parent | 74055c0dd92145b967a659e4223b2ef0aee782c3 (diff) |
round-robin.sh (build_abe): Limit GDB testsuites to 16-thread parallelism
Change-Id: Ia704e3a1a045427e57c372e50916f5a26f30683a
-rw-r--r-- | round-robin.sh | 9 |
1 files changed, 9 insertions, 0 deletions
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 |