mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-04 16:10:10 +00:00
poco: fix some ptests
Remove a number of ignored tests from the ignore-list. They were missing some files that weren't installed - after installing them, they pass. The remaining mongodb test on the list hasn't been tested. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
8b6b188fe0
commit
777833a517
|
|
@ -8,48 +8,14 @@ Content-Transfer-Encoding: 8bit
|
|||
|
||||
These tests fail on Linux
|
||||
|
||||
There were 4 failures:
|
||||
1: N7CppUnit10TestCallerI11ProcessTestEE.testLaunch
|
||||
"rc == 3"
|
||||
in "/usr/src/debug/poco/1.12.4-r0/Foundation/testsuite/src/ProcessTest.cpp", line 79
|
||||
2: N7CppUnit10TestCallerI11ProcessTestEE.testLaunchRedirectIn
|
||||
"rc == 100"
|
||||
in "/usr/src/debug/poco/1.12.4-r0/Foundation/testsuite/src/ProcessTest.cpp", line 106
|
||||
3: N7CppUnit10TestCallerI11ProcessTestEE.testLaunchRedirectOut
|
||||
"s == "Hello, world!""
|
||||
in "/usr/src/debug/poco/1.12.4-r0/Foundation/testsuite/src/ProcessTest.cpp", line 134
|
||||
4: N7CppUnit10TestCallerI11ProcessTestEE.testLaunchEnv
|
||||
"s == "test""
|
||||
in "/usr/src/debug/poco/1.12.4-r0/Foundation/testsuite/src/ProcessTest.cpp", line 166
|
||||
|
||||
There were 4 errors:-
|
||||
1: N7CppUnit10TestCallerI7EVPTestEE.testRSAEVPKeyFromPKCS12
|
||||
│ │ "N4Poco17NotFoundExceptionE:
|
||||
Not found: POCO_BASE"
|
||||
│ │ in "<unknown>", line -1
|
||||
2: N7CppUnit10TestCallerI19PKCS12ContainerTestEE.testFullPKCS12
|
||||
│ │ "N4Poco17NotFoundExceptionE:
|
||||
Not found: POCO_BASE"
|
||||
│ │ in "<unknown>", line -1
|
||||
3: N7CppUnit10TestCallerI19PKCS12ContainerTestEE.testCertsOnlyPKCS12
|
||||
│ │ "N4Poco17NotFoundExceptionE:
|
||||
Not found: POCO_BASE"
|
||||
│ │ in "<unknown>", line -1
|
||||
4: N7CppUnit10TestCallerI19PKCS12ContainerTestEE.testPEMReadWrite
|
||||
│ │ "N4Poco17NotFoundExceptionE:
|
||||
Not found: POCO_BASE"
|
||||
│ │ in "<unknown>", line -1
|
||||
|
||||
There was 1 error:
|
||||
1: CppUnit::TestCaller<ProcessRunnerTest>.testProcessRunner
|
||||
"Poco::TimeoutException:
|
||||
Timeout: ProcessRunner::checkTimeout(): waiting for PID file"
|
||||
in "<unknown>", line -1
|
||||
|
||||
Upstream-Status: Inappropriate [OE specific]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
Signed-off-by: Patrick Wicki <patrick.wicki@siemens.com>
|
||||
Signed-off-by: Peter Marko <peter.marko@siemens.com>
|
||||
|
||||
Updated comment and content after fixing some tests.
|
||||
Left only MongoDBTest.testArray on ignore list, untested.
|
||||
|
||||
---
|
||||
cppignore.lnx | 9 +++++++++
|
||||
1 file changed, 9 insertions(+)
|
||||
|
|
@ -58,17 +24,8 @@ diff --git a/cppignore.lnx b/cppignore.lnx
|
|||
index b3288d474..9aad48ca5 100644
|
||||
--- a/cppignore.lnx
|
||||
+++ b/cppignore.lnx
|
||||
@@ -30,3 +30,13 @@ CppUnit::TestCaller<HTTPSClientSessionTest>.testProxy
|
||||
@@ -30,3 +30,4 @@ CppUnit::TestCaller<HTTPSClientSessionTest>.testProxy
|
||||
CppUnit::TestCaller<HTTPSStreamFactoryTest>.testProxy
|
||||
CppUnit::TestCaller<DNSTest>.testHostByAddress
|
||||
CppUnit::TestCaller<DNSTest>.testHostByName
|
||||
+CppUnit::TestCaller<ProcessTest>.testLaunch
|
||||
+CppUnit::TestCaller<ProcessTest>.testLaunchRedirectIn
|
||||
+CppUnit::TestCaller<ProcessTest>.testLaunchRedirectOut
|
||||
+CppUnit::TestCaller<ProcessTest>.testLaunchEnv
|
||||
+CppUnit::TestCaller<EVPTest>.testRSAEVPKeyFromPKCS12
|
||||
+CppUnit::TestCaller<PKCS12ContainerTest>.testFullPKCS12
|
||||
+CppUnit::TestCaller<PKCS12ContainerTest>.testCertsOnlyPKCS12
|
||||
+CppUnit::TestCaller<PKCS12ContainerTest>.testPEMReadWrite
|
||||
+CppUnit::TestCaller<MongoDBTest>.testArray
|
||||
+CppUnit::TestCaller<ProcessRunnerTest>.testProcessRunner
|
||||
|
|
|
|||
|
|
@ -108,13 +108,15 @@ do_install_ptest () {
|
|||
if ${@bb.utils.contains('PACKAGECONFIG', 'DataPostgreSQL', 'true', 'false', d)}; then
|
||||
cp -f ${B}/lib/libPocoDataTest.so* ${D}${libdir}
|
||||
fi
|
||||
cp -rf ${B}/*/testsuite/data ${D}${PTEST_PATH}/bin/
|
||||
cp -rf ${S}/*/testsuite/data ${D}${PTEST_PATH}/bin/
|
||||
find "${D}${PTEST_PATH}" -executable -exec chrpath -d {} \;
|
||||
rm -f ${D}${PTEST_PATH}/testrunners
|
||||
for f in ${D}${PTEST_PATH}/bin/*-testrunner; do
|
||||
echo `basename $f` >> ${D}${PTEST_PATH}/testrunners
|
||||
done
|
||||
install -Dm 0644 ${S}/cppignore.lnx ${D}${PTEST_PATH}/cppignore.lnx
|
||||
install ${B}/bin/TestLibrary.so ${D}${libdir}
|
||||
install -D ${B}/bin/TestApp ${D}${bindir}/TestApp
|
||||
}
|
||||
|
||||
PACKAGES_DYNAMIC = "poco-.*"
|
||||
|
|
@ -128,6 +130,7 @@ FILES:${PN}-cppunit += "${libdir}/libCppUnit.so*"
|
|||
ALLOW_EMPTY:${PN}-cppunit = "1"
|
||||
FILES:${PN}-datatest += "${libdir}/libPocoDataTest.so*"
|
||||
ALLOW_EMPTY:${PN}-datatest = "1"
|
||||
FILES:${PN}-ptest += "${bindir}/TestApp ${libdir}/TestLibrary.so"
|
||||
|
||||
RDEPENDS:${PN}-ptest += "${PN}-cppunit ${PN}-datatest"
|
||||
RDEPENDS:${PN}-ptest += "${@bb.utils.contains('PACKAGECONFIG', 'MongoDB', 'mongodb', '', d)}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user