diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-14 11:55:45 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-14 11:56:09 +0100 |
commit | 5db4d0dbbb7d7b0f0142da9649192b0ac2db9a7d (patch) | |
tree | 38bb8a9bab55761ac1d4f5bebb61ee58e9f60c50 /meta/lib | |
parent | cc9b77bab0b60b52e5887723784965a3e5a01d21 (diff) | |
download | poky-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.py | 2 |
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(""" |
433 | TMPDIR = "${TOPDIR}/tmp-sstatesamehash2" | 433 | TMPDIR = "${TOPDIR}/tmp-sstatesamehash2" |
434 | BB_NUMBER_THREADS = "${@oe.utils.cpu_count()-1}" | 434 | BB_NUMBER_THREADS = "${@oe.utils.cpu_count()+1}" |
435 | PARALLEL_MAKE = "-j 2" | 435 | PARALLEL_MAKE = "-j 2" |
436 | DL_DIR = "${TOPDIR}/download2" | 436 | DL_DIR = "${TOPDIR}/download2" |
437 | TIME = "222222" | 437 | TIME = "222222" |