summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/freediameter/files/install_test.patch
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2017-11-01 09:23:39 -0400
committerJoe MacDonald <joe_macdonald@mentor.com>2018-01-08 11:54:16 -0500
commitba8543aeee6b97b31e66c261563a197cd0be87e3 (patch)
treea87ef0ec6ebfe242322ffc1f91527a4f95c84641 /meta-networking/recipes-protocols/freediameter/files/install_test.patch
parent72657d7a16f713711a7305d906d9704100a6c629 (diff)
downloadmeta-openembedded-ba8543aeee6b97b31e66c261563a197cd0be87e3.tar.gz
freediameter: add new recipe
freeDiameter is an open source Diameter protocol implementation. It provides an extensible platform for deploying a Diameter network for your Authentication, Authorization and Accounting needs. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-protocols/freediameter/files/install_test.patch')
-rw-r--r--meta-networking/recipes-protocols/freediameter/files/install_test.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/freediameter/files/install_test.patch b/meta-networking/recipes-protocols/freediameter/files/install_test.patch
new file mode 100644
index 0000000000..151037d69b
--- /dev/null
+++ b/meta-networking/recipes-protocols/freediameter/files/install_test.patch
@@ -0,0 +1,22 @@
1CMakeLists: add an option to install tests
2
3Upstream-Status: Inappropriate [OE ptest specific]
4
5Original author: Yao Zhao <yao.zhao@windriver.com>
6Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
7
8diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
9index da8da1b..de04059 100644
10--- a/tests/CMakeLists.txt
11+++ b/tests/CMakeLists.txt
12@@ -113,4 +113,9 @@ ENDFOREACH( TEST )
13 ####
14 ## INSTALL section ##
15
16-# we do not install the tests
17+# install the tests
18+SET(INSTALL_TEST_SUFFIX /opt/${FD_PROJECT_NAME}-tests CACHE PATH "Directory where the test binary is installed.")
19+
20+INSTALL(TARGETS ${TEST_LIST}
21+ RUNTIME DESTINATION ${INSTALL_TEST_SUFFIX}
22+ COMPONENT freeDiameter-common)