summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2014-12-23 16:01:55 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-25 08:27:13 +0000
commit93ba8e0f91f1256c6185d13cd0cd90f059b5baa7 (patch)
treec37513d00fc35ef06662138cb0f2329b8d7deefe
parent5268d8ab1d6255bcad7fd706dc8d04d309daeb5a (diff)
downloadpoky-93ba8e0f91f1256c6185d13cd0cd90f059b5baa7.tar.gz
oeqa/selftest: fix test_force_task so it doesn't taint the entire build
Using -C sets a taint on the specified task, and m4-native is in the dependency chain for just about everything, which means that everything gets forced to rebuild. We don't need the influence of this test to extend outside of the test itself, so ensure that the taint gets cleared at the end of the test. (From OE-Core rev: 24b41a1e3f2496e38a6ae9c47dfe85887f3d7d6e) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/bbtests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/bbtests.py b/meta/lib/oeqa/selftest/bbtests.py
index 2a85f10821..5708d3dc9b 100644
--- a/meta/lib/oeqa/selftest/bbtests.py
+++ b/meta/lib/oeqa/selftest/bbtests.py
@@ -71,6 +71,7 @@ class BitbakeTests(oeSelfTest):
71 @testcase(163) 71 @testcase(163)
72 def test_force_task(self): 72 def test_force_task(self):
73 bitbake('m4-native') 73 bitbake('m4-native')
74 self.add_command_to_tearDown('bitbake -c clean m4-native')
74 result = bitbake('-C compile m4-native') 75 result = bitbake('-C compile m4-native')
75 look_for_tasks = ['do_compile', 'do_install', 'do_populate_sysroot'] 76 look_for_tasks = ['do_compile', 'do_install', 'do_populate_sysroot']
76 for task in look_for_tasks: 77 for task in look_for_tasks: