summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/bbtests.py
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2017-02-02 15:22:46 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-14 14:42:17 +0000
commit648a5d6c4982dbdaaaa15c41978071e5b5ed22ea (patch)
treec4ee82bc95d28b8c624d3f255d1774f7c9fff97b /meta/lib/oeqa/selftest/bbtests.py
parentd94b98fe3092ab69f031d014adeed1badd85c472 (diff)
downloadpoky-648a5d6c4982dbdaaaa15c41978071e5b5ed22ea.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: 19cdac1a625189eb4a41ce5a7a204b08729c1b92) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/bbtests.py')
-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 c2b79c6351..d073433cd5 100644
--- a/meta/lib/oeqa/selftest/bbtests.py
+++ b/meta/lib/oeqa/selftest/bbtests.py
@@ -222,7 +222,7 @@ INHERIT_remove = \"report-error\"
222 self.track_for_cleanup(os.path.join(self.builddir, "download-selftest")) 222 self.track_for_cleanup(os.path.join(self.builddir, "download-selftest"))
223 self.write_recipeinc('man',"\ndo_fail_task () {\nexit 1 \n}\n\naddtask do_fail_task before do_fetch\n" ) 223 self.write_recipeinc('man',"\ndo_fail_task () {\nexit 1 \n}\n\naddtask do_fail_task before do_fetch\n" )
224 runCmd('bitbake -c cleanall man xcursor-transparent-theme') 224 runCmd('bitbake -c cleanall man xcursor-transparent-theme')
225 result = runCmd('bitbake man xcursor-transparent-theme -k', ignore_status=True) 225 result = runCmd('bitbake -c unpack -k man xcursor-transparent-theme', ignore_status=True)
226 errorpos = result.output.find('ERROR: Function failed: do_fail_task') 226 errorpos = result.output.find('ERROR: Function failed: do_fail_task')
227 manver = re.search("NOTE: recipe xcursor-transparent-theme-(.*?): task do_unpack: Started", result.output) 227 manver = re.search("NOTE: recipe xcursor-transparent-theme-(.*?): task do_unpack: Started", result.output)
228 continuepos = result.output.find('NOTE: recipe xcursor-transparent-theme-%s: task do_unpack: Started' % manver.group(1)) 228 continuepos = result.output.find('NOTE: recipe xcursor-transparent-theme-%s: task do_unpack: Started' % manver.group(1))