[OE-core] [PATCH 2/4] testsdk: Drop lockfile usage

Richard Purdie richard.purdie at linuxfoundation.org
Fri Mar 3 11:16:01 UTC 2017


We should be able to test sdks in parallel. As far as I can tell, this
restriction crept in for no good reason, based on locks that testimage used
for the non-qemu case.

Therefore remove the lock and allow sdks to test in parallel.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/testsdk.bbclass | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta/classes/testsdk.bbclass b/meta/classes/testsdk.bbclass
index d566b43..29db5e8 100644
--- a/meta/classes/testsdk.bbclass
+++ b/meta/classes/testsdk.bbclass
@@ -14,8 +14,6 @@
 #
 # where "<image-name>" is an image like core-image-sato.
 
-TESTSDKLOCK = "${TMPDIR}/testsdk.lock"
-
 def testsdk_main(d):
     import os
     import subprocess
@@ -194,4 +192,4 @@ python do_testsdkext() {
 }
 addtask testsdkext
 do_testsdkext[nostamp] = "1"
-do_testsdkext[lockfiles] += "${TESTSDKEXTLOCK}"
+
-- 
2.7.4




More information about the Openembedded-core mailing list