summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-28 15:50:54 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-28 15:54:50 +0100
commit1a41953331f42d69c0201dcfcbb7d8dc12422fde (patch)
treeeae955535db7d5f94456c3a94c2ae5c41f19093f
parente8747ff4c2b5830c5fa76f4c6b872da4a7d6a586 (diff)
downloadopenembedded-core-contrib-1a41953331f42d69c0201dcfcbb7d8dc12422fde.tar.gz
openembedded-core-contrib-1a41953331f42d69c0201dcfcbb7d8dc12422fde.tar.bz2
openembedded-core-contrib-1a41953331f42d69c0201dcfcbb7d8dc12422fde.zip
selftest/devtool: Update after make PROVIDER changes
Now that make/remake needs a PREFERRED_PROVIDER, we need to set this correctly during tests. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/devtool.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa/selftest/devtool.py
index fe9f7f77a4..32025bed32 100644
--- a/meta/lib/oeqa/selftest/devtool.py
+++ b/meta/lib/oeqa/selftest/devtool.py
@@ -929,6 +929,7 @@ class DevtoolTests(DevtoolBase):
tempdir = tempfile.mkdtemp(prefix='devtoolqa')
# Try devtool extract
self.track_for_cleanup(tempdir)
+ self.append_config('PREFERRED_PROVIDER_virtual/make = "remake"')
result = runCmd('devtool extract remake %s' % tempdir)
self.assertTrue(os.path.exists(os.path.join(tempdir, 'Makefile.am')), 'Extracted source could not be found')
# devtool extract shouldn't create the workspace