diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2019-01-04 10:09:35 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-08 11:16:44 +0000 |
commit | 89dd30049b99a6577c517686ffc6a3b24044e283 (patch) | |
tree | ac9ad75eb4d4bc40072329cfd3e3af996b646a30 | |
parent | c75b8f33bf3726de4f062bf2eeda2302bcced064 (diff) | |
download | poky-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.py | 2 |
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): | |||
187 | BB_ALLOWED_NETWORKS = "downloads.yoctoproject.org" | 187 | BB_ALLOWED_NETWORKS = "downloads.yoctoproject.org" |
188 | MIRRORS = "" | 188 | MIRRORS = "" |
189 | DL_DIR = "${TMPDIR}/test_downloads" | 189 | DL_DIR = "${TMPDIR}/test_downloads" |
190 | STAMPS_DIR = "${TMPDIR}/test_stamps" | ||
191 | SSTATE_DIR = "${TMPDIR}/test_sstate-cache" | ||
190 | PREMIRRORS = "\\ | 192 | PREMIRRORS = "\\ |
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 \\ |