summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/testimage-auto.bbclass1
-rw-r--r--meta/classes/testimage.bbclass4
2 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/testimage-auto.bbclass b/meta/classes/testimage-auto.bbclass
index a5b8f7f14a..860599d2b5 100644
--- a/meta/classes/testimage-auto.bbclass
+++ b/meta/classes/testimage-auto.bbclass
@@ -20,3 +20,4 @@ python do_testimage_auto() {
20} 20}
21addtask testimage_auto before do_build after do_rootfs 21addtask testimage_auto before do_build after do_rootfs
22do_testimage_auto[depends] += "${TESTIMAGEDEPENDS}" 22do_testimage_auto[depends] += "${TESTIMAGEDEPENDS}"
23do_testimage_auto[lockfiles] += "${TESTIMAGELOCK}"
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 ?= ""
42TESTIMAGEDEPENDS = "" 42TESTIMAGEDEPENDS = ""
43TESTIMAGEDEPENDS_qemuall = "qemu-native:do_populate_sysroot qemu-helper-native:do_populate_sysroot" 43TESTIMAGEDEPENDS_qemuall = "qemu-native:do_populate_sysroot qemu-helper-native:do_populate_sysroot"
44 44
45TESTIMAGELOCK = "${TMPDIR}/testimage.lock"
46TESTIMAGELOCK_qemuall = ""
47
45python do_testimage() { 48python do_testimage() {
46 testimage_main(d) 49 testimage_main(d)
47} 50}
48addtask testimage 51addtask testimage
49do_testimage[nostamp] = "1" 52do_testimage[nostamp] = "1"
50do_testimage[depends] += "${TESTIMAGEDEPENDS}" 53do_testimage[depends] += "${TESTIMAGEDEPENDS}"
54do_testimage[lockfiles] += "${TESTIMAGELOCK}"
51 55
52 56
53def get_tests_list(d): 57def get_tests_list(d):