aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-14 11:01:24 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-15 16:34:12 +0100
commite07ec908ce7f26143a7bdf0a07a1230c0fd6ac87 (patch)
treec97f810e20e7be6044d39e61768b709931a57720
parent28699b4257436fb6079eafe50ca8cab09a2fdd90 (diff)
downloadopenembedded-core-contrib-e07ec908ce7f26143a7bdf0a07a1230c0fd6ac87.tar.gz
openembedded-core-contrib-e07ec908ce7f26143a7bdf0a07a1230c0fd6ac87.tar.bz2
openembedded-core-contrib-e07ec908ce7f26143a7bdf0a07a1230c0fd6ac87.zip
oeqa/selftest/wic: Use a subdir of builddir, not /var/
Using /var/ leave wic open to races with other processes on the system, use a subdir of builddir instead to avoid this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/cases/wic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/wic.py b/meta/lib/oeqa/selftest/cases/wic.py
index 055175212a..5302e47da1 100644
--- a/meta/lib/oeqa/selftest/cases/wic.py
+++ b/meta/lib/oeqa/selftest/cases/wic.py
@@ -64,13 +64,13 @@ def only_for_arch(archs, image='core-image-minimal'):
class Wic(OESelftestTestCase):
"""Wic test class."""
- resultdir = "/var/tmp/wic.oe-selftest/"
image_is_ready = False
native_sysroot = None
wicenv_cache = {}
def setUpLocal(self):
"""This code is executed before each test method."""
+ self.resultdir = self.builddir + "/wic-tmp/"
super(Wic, self).setUpLocal()
if not self.native_sysroot:
Wic.native_sysroot = get_bb_var('STAGING_DIR_NATIVE', 'wic-tools')