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-08 11:16:44 +0000
commit89dd30049b99a6577c517686ffc6a3b24044e283 (patch)
treeac9ad75eb4d4bc40072329cfd3e3af996b646a30
parentc75b8f33bf3726de4f062bf2eeda2302bcced064 (diff)
downloadpoky-89dd30049b99a6577c517686ffc6a3b24044e283.tar.gz
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. (From OE-Core rev: f8502c68163ec288cf6fb6754829b455501b4a05) 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):
187BB_ALLOWED_NETWORKS = "downloads.yoctoproject.org" 187BB_ALLOWED_NETWORKS = "downloads.yoctoproject.org"
188MIRRORS = "" 188MIRRORS = ""
189DL_DIR = "${TMPDIR}/test_downloads" 189DL_DIR = "${TMPDIR}/test_downloads"
190STAMPS_DIR = "${TMPDIR}/test_stamps"
191SSTATE_DIR = "${TMPDIR}/test_sstate-cache"
190PREMIRRORS = "\\ 192PREMIRRORS = "\\
191 bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \\n \\ 193 bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \\n \\
192 cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \\n \\ 194 cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \\n \\