Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "Check - unit testing framework for C code" |
Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 2 | DESCRIPTION = "It features a simple interface for defining unit tests, \ |
| 3 | putting little in the way of the developer. Tests are run in a separate \ |
| 4 | address space, so both assertion failures and code errors that cause \ |
| 5 | segmentation faults or other signals can be caught. Test results are \ |
| 6 | reportable in the following: Subunit, TAP, XML, and a generic logging format." |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 7 | HOMEPAGE = "https://libcheck.github.io/check/" |
| 8 | SECTION = "devel" |
| 9 | |
| 10 | LICENSE = "LGPLv2.1+" |
| 11 | LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=2d5025d4aa3495befef8f17206a5b0a1" |
| 12 | |
| 13 | SRC_URI = "https://github.com/${BPN}/check/releases/download/${PV}/check-${PV}.tar.gz \ |
| 14 | file://not-echo-compiler-info-to-check_stdint.h.patch" |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 15 | SRC_URI[sha256sum] = "a8de4e0bacfb4d76dd1c618ded263523b53b85d92a146d8835eb1a52932fa20a" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 16 | UPSTREAM_CHECK_URI = "https://github.com/libcheck/check/releases/" |
| 17 | |
| 18 | S = "${WORKDIR}/check-${PV}" |
| 19 | |
| 20 | inherit autotools pkgconfig texinfo |
| 21 | |
| 22 | CACHED_CONFIGUREVARS += "ac_cv_path_AWK_PATH=${bindir}/gawk" |
| 23 | |
| 24 | RREPLACES_${PN} = "check (<= 0.9.5)" |
| 25 | |
| 26 | BBCLASSEXTEND = "native nativesdk" |
| 27 | |
| 28 | PACKAGES =+ "checkmk" |
| 29 | |
| 30 | FILES_checkmk = "${bindir}/checkmk" |
| 31 | |
| 32 | RDEPENDS_checkmk = "gawk" |
| 33 | |