oeqa/sdk: assimp.py -> cmake.py
PATCH v2 1/1 oeqa/sdk: assimp.py -> cmake.py
In reply to Robert YangThe downloaded non-free sources, now download expat-2.4.1.tar.bz2 to replace it, and also rename the test case to cmake.py since it is used for testing cmake.
---
meta/lib/oeqa/sdk/cases/{assimp.py => cmake.py} | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
rename meta/lib/oeqa/sdk/cases/{assimp.py => cmake.py} (81%)meta/lib/oeqa/sdk/cases/cmake.py renamed from meta/lib/oeqa/sdk/cases/assimp.py +5 -5
@@ -21,12 +21,12 @@ class BuildAssimp(OESDKTestCase): self.tc.hasHostPackage("cmake-native")): raise unittest.SkipTest("Needs cmake") - def test_assimp(self): - with tempfile.TemporaryDirectory(prefix="assimp", dir=self.tc.sdk_dir) as testdir: - tarball = self.fetch(testdir, self.td["DL_DIR"], "https://github.com/assimp/assimp/archive/v4.1.0.tar.gz") + def test_cmake(self): + with tempfile.TemporaryDirectory(prefix="cmake", dir=self.tc.sdk_dir) as testdir: + tarball = self.fetch(testdir, self.td["DL_DIR"], "https://downloads.sourceforge.net/expat/expat-2.4.1.tar.bz2") dirs = {} - dirs["source"] = os.path.join(testdir, "assimp-4.1.0") + dirs["source"] = os.path.join(testdir, "expat-2.4.1") dirs["build"] = os.path.join(testdir, "build") dirs["install"] = os.path.join(testdir, "install")
@@ -37,4 +37,4 @@ class BuildAssimp(OESDKTestCase): self._run("cd {build} && cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON {source}".format(**dirs)) self._run("cmake --build {build} -- -j".format(**dirs)) self._run("cmake --build {build} --target install -- DESTDIR={install}".format(**dirs)) - self.check_elf(os.path.join(dirs["install"], "usr", "local", "lib", "libassimp.so.4.1.0")) + self.check_elf(os.path.join(dirs["install"], "usr", "local", "lib", "libexpat.so.1.8.1"))
Signature · 1 line
2.31.1
v2 cover oeqa/sdk: assimp.py -> cmake.py
* V2:
- Fixed Ross' comments:
1) Keep -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
2) Avoid "/" in os.path.join()
// Robert
The following changes since commit 50154869b496cf63a4fae2c8278350fcf9a2591d:
binutils: inherit pkgconfig to address libdebuginfod depdency (2021-09-11 22:36:27 +0100)
are available in the Git repository at:
git://git.openembedded.org/openembedded-core-contrib rbt/test
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/test
Robert Yang (1):
oeqa/sdk: assimp.py -> cmake.py
meta/lib/oeqa/sdk/cases/{assimp.py => cmake.py} | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
rename meta/lib/oeqa/sdk/cases/{assimp.py => cmake.py} (81%)Signature · 1 line
2.31.1
Quoted 8 lines · Robert Yang
The downloaded non-free sources, now download expat-2.4.1.tar.bz2 to replace it, and also rename the test case to
cmake.pysince it is used for testing cmake.Signed-off-by Robert Yang <[email protected]>--- meta/lib/oeqa/sdk/cases/{assimp.py => cmake.py} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename meta/lib/oeqa/sdk/cases/{assimp.py => cmake.py} (81%)
There were a couple of failures so far on the autobuilder:
https://autobuilder.yoctoproject.org/typhoon/#/builders/62/builds/3979/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/48/builds/3989
Cheers,
Richard