mirror of
https://git.yoctoproject.org/poky
synced 2026-04-03 20:02:24 +02:00
oeqa/sdk: improve Meson test
Verify that the build inside the SDK is detected as a cross compilation. (From OE-Core rev: 3dc75ab44c23c4ff26502b96abded3c1c0b94e38) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
4e8dd8db61
commit
7a765a628f
@@ -32,7 +32,9 @@ class EpoxyTest(OESDKTestCase):
|
||||
self.assertTrue(os.path.isdir(dirs["source"]))
|
||||
os.makedirs(dirs["build"])
|
||||
|
||||
self._run("meson -Degl=no -Dglx=no -Dx11=false {build} {source}".format(**dirs))
|
||||
log = self._run("meson -Degl=no -Dglx=no -Dx11=false {build} {source}".format(**dirs))
|
||||
# Check that Meson thinks we're doing a cross build and not a native
|
||||
self.assertIn("Build type: cross build", log)
|
||||
self._run("ninja -C {build} -v".format(**dirs))
|
||||
self._run("DESTDIR={install} ninja -C {build} -v install".format(**dirs))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user