diff options
author | Stefan Stanacar <stefanx.stanacar@intel.com> | 2014-03-01 22:12:57 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-05 15:24:04 +0000 |
commit | 9560305a9e28316438cb57421afc7877890c4b76 (patch) | |
tree | 0cefbbf24fdfd99172900346be18ba760b29a96a /meta/classes/testimage.bbclass | |
parent | 53899da20cd439ae53974e507f3dd86cd6879455 (diff) | |
download | openembedded-core-9560305a9e28316438cb57421afc7877890c4b76.tar.gz openembedded-core-9560305a9e28316438cb57421afc7877890c4b76.tar.bz2 openembedded-core-9560305a9e28316438cb57421afc7877890c4b76.zip |
testimage: add task level lock
For machines other than qemu it will not be okay to run
multiple testimage tasks in parallel.
Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/testimage.bbclass')
-rw-r--r-- | meta/classes/testimage.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index 48e1032326..691c7f6785 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass @@ -42,12 +42,16 @@ TEST_SERVER_IP ?= "" TESTIMAGEDEPENDS = "" TESTIMAGEDEPENDS_qemuall = "qemu-native:do_populate_sysroot qemu-helper-native:do_populate_sysroot" +TESTIMAGELOCK = "${TMPDIR}/testimage.lock" +TESTIMAGELOCK_qemuall = "" + python do_testimage() { testimage_main(d) } addtask testimage do_testimage[nostamp] = "1" do_testimage[depends] += "${TESTIMAGEDEPENDS}" +do_testimage[lockfiles] += "${TESTIMAGELOCK}" def get_tests_list(d): |