summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-14 11:55:45 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-14 11:55:47 +0100
commit78041e20e43d9583448ff31f8b9b1c6157da8625 (patch)
tree997a4d1f2aa8ed5f0acec997c1af12ab201d88f4
parent7fb9648f7a055beef9c8a735850b1b51fd23ff1d (diff)
downloadopenembedded-core-contrib-78041e20e43d9583448ff31f8b9b1c6157da8625.tar.gz
openembedded-core-contrib-78041e20e43d9583448ff31f8b9b1c6157da8625.tar.bz2
openembedded-core-contrib-78041e20e43d9583448ff31f8b9b1c6157da8625.zip
selftest/sstatetests: Fix potential failure on uniprocessor machines
It was pointed out +1 is safer than -1 for systems with one processor. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/cases/sstatetests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/sstatetests.py b/meta/lib/oeqa/selftest/cases/sstatetests.py
index feadf3c51c..e68ef5cbe9 100644
--- a/meta/lib/oeqa/selftest/cases/sstatetests.py
+++ b/meta/lib/oeqa/selftest/cases/sstatetests.py
@@ -431,7 +431,7 @@ http_proxy = ""
bitbake("world meta-toolchain -S none")
self.write_config("""
TMPDIR = "${TOPDIR}/tmp-sstatesamehash2"
-BB_NUMBER_THREADS = "${@oe.utils.cpu_count()-1}"
+BB_NUMBER_THREADS = "${@oe.utils.cpu_count()+1}"
PARALLEL_MAKE = "-j 2"
DL_DIR = "${TOPDIR}/download2"
TIME = "222222"