selftest/devtool: Update after make PROVIDER changes

Now that make/remake needs a PREFERRED_PROVIDER, we need to set this
correctly during tests.

(From OE-Core rev: 1a41953331f42d69c0201dcfcbb7d8dc12422fde)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2016-03-28 15:50:54 +01:00
parent 25a04eed02
commit f81065f5b2

View File

@@ -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