summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/devtool.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest/devtool.py')
-rw-r--r--meta/lib/oeqa/selftest/devtool.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa/selftest/devtool.py
index 43c7cdade1..d95cb08749 100644
--- a/meta/lib/oeqa/selftest/devtool.py
+++ b/meta/lib/oeqa/selftest/devtool.py
@@ -226,8 +226,13 @@ class DevtoolTests(DevtoolBase):
226 # Clean up anything in the workdir/sysroot/sstate cache (have to do this *after* devtool add since the recipe only exists then) 226 # Clean up anything in the workdir/sysroot/sstate cache (have to do this *after* devtool add since the recipe only exists then)
227 bitbake('libftdi -c cleansstate') 227 bitbake('libftdi -c cleansstate')
228 # libftdi's python/CMakeLists.txt is a bit broken, so let's just disable it 228 # libftdi's python/CMakeLists.txt is a bit broken, so let's just disable it
229 # There's also the matter of it installing cmake files to a path we don't
230 # normally cover, which triggers the installed-vs-shipped QA test we have
231 # within do_package
229 recipefile = '%s/recipes/libftdi/libftdi_%s.bb' % (self.workspacedir, version) 232 recipefile = '%s/recipes/libftdi/libftdi_%s.bb' % (self.workspacedir, version)
230 result = runCmd('recipetool setvar %s EXTRA_OECMAKE -- "-DPYTHON_BINDINGS=OFF"' % recipefile) 233 result = runCmd('recipetool setvar %s EXTRA_OECMAKE -- \'-DPYTHON_BINDINGS=OFF -DLIBFTDI_CMAKE_CONFIG_DIR=${datadir}/cmake/Modules\'' % recipefile)
234 with open(recipefile, 'a') as f:
235 f.write('\nFILES_${PN}-dev += "${datadir}/cmake/Modules"\n')
231 # Test devtool build 236 # Test devtool build
232 result = runCmd('devtool build libftdi') 237 result = runCmd('devtool build libftdi')
233 staging_libdir = get_bb_var('STAGING_LIBDIR', 'libftdi') 238 staging_libdir = get_bb_var('STAGING_LIBDIR', 'libftdi')