summaryrefslogtreecommitdiffstats
path: root/meta/lib
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:56:09 +0100
commit5db4d0dbbb7d7b0f0142da9649192b0ac2db9a7d (patch)
tree38bb8a9bab55761ac1d4f5bebb61ee58e9f60c50 /meta/lib
parentcc9b77bab0b60b52e5887723784965a3e5a01d21 (diff)
downloadpoky-5db4d0dbbb7d7b0f0142da9649192b0ac2db9a7d.tar.gz
selftest/sstatetests: Fix potential failure on uniprocessor machines
It was pointed out +1 is safer than -1 for systems with one processor. (From OE-Core rev: 78041e20e43d9583448ff31f8b9b1c6157da8625) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-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 = ""
431 bitbake("world meta-toolchain -S none") 431 bitbake("world meta-toolchain -S none")
432 self.write_config(""" 432 self.write_config("""
433TMPDIR = "${TOPDIR}/tmp-sstatesamehash2" 433TMPDIR = "${TOPDIR}/tmp-sstatesamehash2"
434BB_NUMBER_THREADS = "${@oe.utils.cpu_count()-1}" 434BB_NUMBER_THREADS = "${@oe.utils.cpu_count()+1}"
435PARALLEL_MAKE = "-j 2" 435PARALLEL_MAKE = "-j 2"
436DL_DIR = "${TOPDIR}/download2" 436DL_DIR = "${TOPDIR}/download2"
437TIME = "222222" 437TIME = "222222"