[oe-commits] [openembedded-core] branch master updated: selftest/sstatetests: Fix potential failure on uniprocessor machines

git at git.openembedded.org git at git.openembedded.org
Wed Jun 14 10:56:27 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

The following commit(s) were added to refs/heads/master by this push:
     new 78041e2  selftest/sstatetests: Fix potential failure on uniprocessor machines
78041e2 is described below

commit 78041e20e43d9583448ff31f8b9b1c6157da8625
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Wed Jun 14 11:55:45 2017 +0100

    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 at linuxfoundation.org>
---
 meta/lib/oeqa/selftest/cases/sstatetests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/selftest/cases/sstatetests.py b/meta/lib/oeqa/selftest/cases/sstatetests.py
index feadf3c..e68ef5c 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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list