diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2021-08-12 06:58:56 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2021-08-12 06:58:56 +0000 |
commit | 2dfaa947a027c96e0168cd5dd1ffa391d7cc8c0e (patch) | |
tree | 9f60b92b435db312f94c1a2f42baba2c90afe466 | |
parent | bdaaf38b8d5fa3c813228eb7078dc5d6dad078e5 (diff) |
round-robin.sh: Fix GDB parallelization workaround
Change-Id: Ib9cb425d3e74d4c9bfda9628a75cd8a2bc967e33
-rw-r--r-- | round-robin.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/round-robin.sh b/round-robin.sh index d75f6a02..691d9daa 100644 --- a/round-robin.sh +++ b/round-robin.sh @@ -239,7 +239,8 @@ build_abe () 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=\(.*\)/\1/") + local cpus=$(cat abe/host.conf \ + | grep "^cpus=" | sed -e "s/^cpus=\(.*\)/\1/") if [ "$cpus" -gt 16 ]; then sed -i -e "s/^cpus=.*/cpus=16/" abe/host.conf fi |