summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-support/poco/poco/0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch53
-rw-r--r--meta-oe/recipes-support/poco/poco_1.14.2.bb5
2 files changed, 9 insertions, 49 deletions
diff --git a/meta-oe/recipes-support/poco/poco/0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch b/meta-oe/recipes-support/poco/poco/0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch
index 1d4eb9b831..8575797e89 100644
--- a/meta-oe/recipes-support/poco/poco/0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch
+++ b/meta-oe/recipes-support/poco/poco/0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch
@@ -8,48 +8,14 @@ Content-Transfer-Encoding: 8bit
8 8
9These tests fail on Linux 9These tests fail on Linux
10 10
11There were 4 failures:
12 1: N7CppUnit10TestCallerI11ProcessTestEE.testLaunch
13 "rc == 3"
14 in "/usr/src/debug/poco/1.12.4-r0/Foundation/testsuite/src/ProcessTest.cpp", line 79
15 2: N7CppUnit10TestCallerI11ProcessTestEE.testLaunchRedirectIn
16 "rc == 100"
17 in "/usr/src/debug/poco/1.12.4-r0/Foundation/testsuite/src/ProcessTest.cpp", line 106
18 3: N7CppUnit10TestCallerI11ProcessTestEE.testLaunchRedirectOut
19 "s == "Hello, world!""
20 in "/usr/src/debug/poco/1.12.4-r0/Foundation/testsuite/src/ProcessTest.cpp", line 134
21 4: N7CppUnit10TestCallerI11ProcessTestEE.testLaunchEnv
22 "s == "test""
23 in "/usr/src/debug/poco/1.12.4-r0/Foundation/testsuite/src/ProcessTest.cpp", line 166
24
25 There were 4 errors:-
26 1: N7CppUnit10TestCallerI7EVPTestEE.testRSAEVPKeyFromPKCS12
27 │ │ "N4Poco17NotFoundExceptionE:
28 Not found: POCO_BASE"
29 │ │ in "<unknown>", line -1
30 2: N7CppUnit10TestCallerI19PKCS12ContainerTestEE.testFullPKCS12
31 │ │ "N4Poco17NotFoundExceptionE:
32 Not found: POCO_BASE"
33 │ │ in "<unknown>", line -1
34 3: N7CppUnit10TestCallerI19PKCS12ContainerTestEE.testCertsOnlyPKCS12
35 │ │ "N4Poco17NotFoundExceptionE:
36 Not found: POCO_BASE"
37 │ │ in "<unknown>", line -1
38 4: N7CppUnit10TestCallerI19PKCS12ContainerTestEE.testPEMReadWrite
39 │ │ "N4Poco17NotFoundExceptionE:
40 Not found: POCO_BASE"
41 │ │ in "<unknown>", line -1
42
43There was 1 error:
44 1: CppUnit::TestCaller<ProcessRunnerTest>.testProcessRunner
45 "Poco::TimeoutException:
46Timeout: ProcessRunner::checkTimeout(): waiting for PID file"
47 in "<unknown>", line -1
48
49Upstream-Status: Inappropriate [OE specific] 11Upstream-Status: Inappropriate [OE specific]
50Signed-off-by: Khem Raj <raj.khem@gmail.com> 12Signed-off-by: Khem Raj <raj.khem@gmail.com>
51Signed-off-by: Patrick Wicki <patrick.wicki@siemens.com> 13Signed-off-by: Patrick Wicki <patrick.wicki@siemens.com>
52Signed-off-by: Peter Marko <peter.marko@siemens.com> 14Signed-off-by: Peter Marko <peter.marko@siemens.com>
15
16Updated comment and content after fixing some tests.
17Left only MongoDBTest.testArray on ignore list, untested.
18
53--- 19---
54 cppignore.lnx | 9 +++++++++ 20 cppignore.lnx | 9 +++++++++
55 1 file changed, 9 insertions(+) 21 1 file changed, 9 insertions(+)
@@ -58,17 +24,8 @@ diff --git a/cppignore.lnx b/cppignore.lnx
58index b3288d474..9aad48ca5 100644 24index b3288d474..9aad48ca5 100644
59--- a/cppignore.lnx 25--- a/cppignore.lnx
60+++ b/cppignore.lnx 26+++ b/cppignore.lnx
61@@ -30,3 +30,13 @@ CppUnit::TestCaller<HTTPSClientSessionTest>.testProxy 27@@ -30,3 +30,4 @@ CppUnit::TestCaller<HTTPSClientSessionTest>.testProxy
62 CppUnit::TestCaller<HTTPSStreamFactoryTest>.testProxy 28 CppUnit::TestCaller<HTTPSStreamFactoryTest>.testProxy
63 CppUnit::TestCaller<DNSTest>.testHostByAddress 29 CppUnit::TestCaller<DNSTest>.testHostByAddress
64 CppUnit::TestCaller<DNSTest>.testHostByName 30 CppUnit::TestCaller<DNSTest>.testHostByName
65+CppUnit::TestCaller<ProcessTest>.testLaunch
66+CppUnit::TestCaller<ProcessTest>.testLaunchRedirectIn
67+CppUnit::TestCaller<ProcessTest>.testLaunchRedirectOut
68+CppUnit::TestCaller<ProcessTest>.testLaunchEnv
69+CppUnit::TestCaller<EVPTest>.testRSAEVPKeyFromPKCS12
70+CppUnit::TestCaller<PKCS12ContainerTest>.testFullPKCS12
71+CppUnit::TestCaller<PKCS12ContainerTest>.testCertsOnlyPKCS12
72+CppUnit::TestCaller<PKCS12ContainerTest>.testPEMReadWrite
73+CppUnit::TestCaller<MongoDBTest>.testArray 31+CppUnit::TestCaller<MongoDBTest>.testArray
74+CppUnit::TestCaller<ProcessRunnerTest>.testProcessRunner
diff --git a/meta-oe/recipes-support/poco/poco_1.14.2.bb b/meta-oe/recipes-support/poco/poco_1.14.2.bb
index 9cdc9e325c..8f81fac77b 100644
--- a/meta-oe/recipes-support/poco/poco_1.14.2.bb
+++ b/meta-oe/recipes-support/poco/poco_1.14.2.bb
@@ -108,13 +108,15 @@ do_install_ptest () {
108 if ${@bb.utils.contains('PACKAGECONFIG', 'DataPostgreSQL', 'true', 'false', d)}; then 108 if ${@bb.utils.contains('PACKAGECONFIG', 'DataPostgreSQL', 'true', 'false', d)}; then
109 cp -f ${B}/lib/libPocoDataTest.so* ${D}${libdir} 109 cp -f ${B}/lib/libPocoDataTest.so* ${D}${libdir}
110 fi 110 fi
111 cp -rf ${B}/*/testsuite/data ${D}${PTEST_PATH}/bin/ 111 cp -rf ${S}/*/testsuite/data ${D}${PTEST_PATH}/bin/
112 find "${D}${PTEST_PATH}" -executable -exec chrpath -d {} \; 112 find "${D}${PTEST_PATH}" -executable -exec chrpath -d {} \;
113 rm -f ${D}${PTEST_PATH}/testrunners 113 rm -f ${D}${PTEST_PATH}/testrunners
114 for f in ${D}${PTEST_PATH}/bin/*-testrunner; do 114 for f in ${D}${PTEST_PATH}/bin/*-testrunner; do
115 echo `basename $f` >> ${D}${PTEST_PATH}/testrunners 115 echo `basename $f` >> ${D}${PTEST_PATH}/testrunners
116 done 116 done
117 install -Dm 0644 ${S}/cppignore.lnx ${D}${PTEST_PATH}/cppignore.lnx 117 install -Dm 0644 ${S}/cppignore.lnx ${D}${PTEST_PATH}/cppignore.lnx
118 install ${B}/bin/TestLibrary.so ${D}${libdir}
119 install -D ${B}/bin/TestApp ${D}${bindir}/TestApp
118} 120}
119 121
120PACKAGES_DYNAMIC = "poco-.*" 122PACKAGES_DYNAMIC = "poco-.*"
@@ -128,6 +130,7 @@ FILES:${PN}-cppunit += "${libdir}/libCppUnit.so*"
128ALLOW_EMPTY:${PN}-cppunit = "1" 130ALLOW_EMPTY:${PN}-cppunit = "1"
129FILES:${PN}-datatest += "${libdir}/libPocoDataTest.so*" 131FILES:${PN}-datatest += "${libdir}/libPocoDataTest.so*"
130ALLOW_EMPTY:${PN}-datatest = "1" 132ALLOW_EMPTY:${PN}-datatest = "1"
133FILES:${PN}-ptest += "${bindir}/TestApp ${libdir}/TestLibrary.so"
131 134
132RDEPENDS:${PN}-ptest += "${PN}-cppunit ${PN}-datatest" 135RDEPENDS:${PN}-ptest += "${PN}-cppunit ${PN}-datatest"
133RDEPENDS:${PN}-ptest += "${@bb.utils.contains('PACKAGECONFIG', 'MongoDB', 'mongodb', '', d)}" 136RDEPENDS:${PN}-ptest += "${@bb.utils.contains('PACKAGECONFIG', 'MongoDB', 'mongodb', '', d)}"