[oe-commits] [meta-openembedded] 40/76: cxxtest: Add CxxTest framework to recipe-devtools.

git at git.openembedded.org git at git.openembedded.org
Sat Dec 24 08:18:45 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 6bc5fd6aabadcf216550b87ad64e51f9f051d0c5
Author: Daniel Hilst Selli <danielhilst at gmail.com>
AuthorDate: Sat Dec 17 19:53:23 2016 -0200

    cxxtest: Add CxxTest framework to recipe-devtools.
    
    >From cxxtest.org/guide.html:
    CxxTest is a unit testing framework for C++ that is similar in spirit to JUnit,
    CppUnit, and xUnit. CxxTest is easy to use because it does not require
    precompiling a CxxTest testing library, it employs no advanced features of C++
    (e.g. RTTI) and it supports a very flexible form of test discovery.
    
    Signed-off-by: Daniel Hilst SellI <danielhilst at gmail.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-devtools/cxxtest/cxxtest_4.3.bb | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/meta-oe/recipes-devtools/cxxtest/cxxtest_4.3.bb b/meta-oe/recipes-devtools/cxxtest/cxxtest_4.3.bb
new file mode 100644
index 0000000..2915011
--- /dev/null
+++ b/meta-oe/recipes-devtools/cxxtest/cxxtest_4.3.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "CxxTest is a unit testing framework for C++ that is similar in spirit to JUnit, CppUnit, and xUnit."
+HOMEPAGE = "http://cxxtest.com/"
+LICENSE = "LGPL-2.0"
+SECTION = "devel"
+
+SRC_URI = "http://downloads.sourceforge.net/project/cxxtest/cxxtest/${PV}/cxxtest-${PV}.tar.gz"
+SRC_URI[md5sum] = "b3a24b3e1aad9acf6adac37f4c3f83ec"
+SRC_URI[sha256sum] = "356d0f4810e8eb5c344147a0cca50fc0d84122c286e7644b61cb365c2ee22083"
+LIC_FILES_CHKSUM = "file://${WORKDIR}/cxxtest-${PV}/COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02"
+S = "${WORKDIR}/cxxtest-${PV}/python"
+
+inherit distutils
+
+do_install_append() {
+    install -d ${D}${includedir}
+    cp -a ../cxxtest ${D}${includedir}
+    sed '1c\
+#!/usr/bin/env python' -i ${D}${bindir}/cxxtestgen
+}
+
+BBCLASSEXTEND = "native nativesdk"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list