summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2019-01-04 10:09:35 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-07 17:23:07 +0000
commitf8502c68163ec288cf6fb6754829b455501b4a05 (patch)
tree9cc612ddcd73140f2e88cb907009416468c59868
parent564de3681353fe8e203425388e8be9703a89d2da (diff)
downloadopenembedded-core-contrib-f8502c68163ec288cf6fb6754829b455501b4a05.tar.gz
openembedded-core-contrib-f8502c68163ec288cf6fb6754829b455501b4a05.tar.bz2
openembedded-core-contrib-f8502c68163ec288cf6fb6754829b455501b4a05.zip
buildoptions.py: use different STAMPS_DIR and SSTATE_DIR
Use a different STAMPS_DIR and SSTATE_DIR in test_yocto_source_mirror. Otherwise, when executing `oe-selftest -a', we will get a lot of failures due to do_unpack failure. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/cases/buildoptions.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/buildoptions.py b/meta/lib/oeqa/selftest/cases/buildoptions.py
index f234bac051..7bbbf76ebd 100644
--- a/meta/lib/oeqa/selftest/cases/buildoptions.py
+++ b/meta/lib/oeqa/selftest/cases/buildoptions.py
@@ -187,6 +187,8 @@ class SourceMirroring(OESelftestTestCase):
BB_ALLOWED_NETWORKS = "downloads.yoctoproject.org"
MIRRORS = ""
DL_DIR = "${TMPDIR}/test_downloads"
+STAMPS_DIR = "${TMPDIR}/test_stamps"
+SSTATE_DIR = "${TMPDIR}/test_sstate-cache"
PREMIRRORS = "\\
bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \\n \\
cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \\n \\