summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2017-05-25 12:16:52 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-25 17:38:36 +0100
commite7f948f28a56483cf6d1e4a9afda98a373869c15 (patch)
tree81c1f8c948cfe016242063dd1a9a609eaad68223 /meta/lib/oeqa
parent78890ea22750804e3e9113e76f7ca3d7234c8342 (diff)
downloadpoky-e7f948f28a56483cf6d1e4a9afda98a373869c15.tar.gz
selftest: do not perform a full build in test_continue
This was fetching and building the toolchain and everything else against empty download dir and sstate cache, and so was enormously slow. The test does not need that, it only checks that one fetch task fails and another succeeds when using bitbake's -k option. (From OE-Core rev: 6c69b5edc5711d2e5304a931e43eba562a095191) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r--meta/lib/oeqa/selftest/bbtests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/bbtests.py b/meta/lib/oeqa/selftest/bbtests.py
index baae1e0e54..c9802a416b 100644
--- a/meta/lib/oeqa/selftest/bbtests.py
+++ b/meta/lib/oeqa/selftest/bbtests.py
@@ -221,7 +221,7 @@ INHERIT_remove = \"report-error\"
221 self.track_for_cleanup(os.path.join(self.builddir, "download-selftest")) 221 self.track_for_cleanup(os.path.join(self.builddir, "download-selftest"))
222 self.write_recipeinc('man',"\ndo_fail_task () {\nexit 1 \n}\n\naddtask do_fail_task before do_fetch\n" ) 222 self.write_recipeinc('man',"\ndo_fail_task () {\nexit 1 \n}\n\naddtask do_fail_task before do_fetch\n" )
223 runCmd('bitbake -c cleanall man xcursor-transparent-theme') 223 runCmd('bitbake -c cleanall man xcursor-transparent-theme')
224 result = runCmd('bitbake man xcursor-transparent-theme -k', ignore_status=True) 224 result = runCmd('bitbake -c unpack -k man xcursor-transparent-theme', ignore_status=True)
225 errorpos = result.output.find('ERROR: Function failed: do_fail_task') 225 errorpos = result.output.find('ERROR: Function failed: do_fail_task')
226 manver = re.search("NOTE: recipe xcursor-transparent-theme-(.*?): task do_unpack: Started", result.output) 226 manver = re.search("NOTE: recipe xcursor-transparent-theme-(.*?): task do_unpack: Started", result.output)
227 continuepos = result.output.find('NOTE: recipe xcursor-transparent-theme-%s: task do_unpack: Started' % manver.group(1)) 227 continuepos = result.output.find('NOTE: recipe xcursor-transparent-theme-%s: task do_unpack: Started' % manver.group(1))