mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 04:39:40 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user