Add cxxtest framework to devtools.

Submitted by Daniel Hilst Selli on Dec. 17, 2016, 1:48 a.m. | Patch ID: 135226

Details

Message ID 20161217014805.6120-1-danielhilst@gmail.com
State New
Headers show

Commit Message

Daniel Hilst Selli Dec. 17, 2016, 1:48 a.m.
CxxTest is a C++ unit framework test that doesn't
need precompiled library.

Signed-off-by: Daniel Hilst Selli <danielhilst@gmail.com>
---
 meta/recipes-devtools/cxxtest/cxxtest_4.3.bb | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta/recipes-devtools/cxxtest/cxxtest_4.3.bb

Patch hide | download patch | download mbox

diff --git a/meta/recipes-devtools/cxxtest/cxxtest_4.3.bb b/meta/recipes-devtools/cxxtest/cxxtest_4.3.bb
new file mode 100644
index 0000000..2915011
--- /dev/null
+++ b/meta/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"

Comments

Ross Burton Dec. 17, 2016, 4:38 p.m.
On 17 December 2016 at 01:48, Daniel Hilst Selli <danielhilst@gmail.com>
wrote:

> CxxTest is a C++ unit framework test that doesn't
> need precompiled library.
>

Unless you have a great reason for this to be in oe-core, it should
probably belong in meta-oe so please submit it to that layer.

Ross
Daniel Hilst Selli Dec. 17, 2016, 9:56 p.m.
Okay! Sent!

Thanks for the reply!

2016-12-17 14:38 GMT-02:00 Burton, Ross <ross.burton@intel.com>:
>
> On 17 December 2016 at 01:48, Daniel Hilst Selli <danielhilst@gmail.com>
> wrote:
>>
>> CxxTest is a C++ unit framework test that doesn't
>> need precompiled library.
>
>
> Unless you have a great reason for this to be in oe-core, it should probably
> belong in meta-oe so please submit it to that layer.
>
> Ross