1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

CppUTest is a C /C++ based unit xUnit test framework for unit testing and for

test-driving your code. It is written in C++ but is used in C and C++ projects
and frequently used in embedded systems.

CppUTest's core design principles:

* Simple to use and small
* Portable to old and new platforms
* Build with Test-driven Development in mind

WWW: https://cpputest.github.io/

PR:		209622
Submitted by:	Akos Somfai <akos.somfai@gmail.com>
This commit is contained in:
Pawel Pekala 2016-05-27 11:29:25 +00:00
parent 2c4559ada2
commit 8adc99e89b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=415934
6 changed files with 88 additions and 0 deletions

View File

@ -308,6 +308,7 @@
SUBDIR += cppi
SUBDIR += cpptest
SUBDIR += cppunit
SUBDIR += cpputest
SUBDIR += cproto
SUBDIR += cpuflags
SUBDIR += cram

18
devel/cpputest/Makefile Normal file
View File

@ -0,0 +1,18 @@
# $FreeBSD$
PORTNAME= cpputest
PORTVERSION= 3.7.1
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= akos.somfai@gmail.com
COMMENT= Unit testing and mocking framework for C/C++
LICENSE= BSD3CLAUSE
USE_GITHUB= yes
USES= autoreconf libtool
GNU_CONFIGURE= yes
.include <bsd.port.mk>

2
devel/cpputest/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (cpputest-cpputest-v3.7.1_GH0.tar.gz) = 4efefc00ae5af2a4b8733f2d965a5355596a884f01e487d9fbcad879b8e8d528
SIZE (cpputest-cpputest-v3.7.1_GH0.tar.gz) = 2390286

View File

@ -0,0 +1,11 @@
--- Makefile.am.orig 2015-05-04 05:36:02 UTC
+++ Makefile.am
@@ -21,7 +21,7 @@ endif
TESTS = $(check_PROGRAMS)
-pkgconfigdir = $(libdir)/pkgconfig
+pkgconfigdir = $(prefix)/libdata/pkgconfig
pkgconfig_DATA = cpputest.pc
EXTRA_DIST = \

11
devel/cpputest/pkg-descr Normal file
View File

@ -0,0 +1,11 @@
CppUTest is a C /C++ based unit xUnit test framework for unit testing and for
test-driving your code. It is written in C++ but is used in C and C++ projects
and frequently used in embedded systems.
CppUTest's core design principles:
* Simple to use and small
* Portable to old and new platforms
* Build with Test-driven Development in mind
WWW: https://cpputest.github.io/

45
devel/cpputest/pkg-plist Normal file
View File

@ -0,0 +1,45 @@
include/CppUTest/CommandLineArguments.h
include/CppUTest/CommandLineTestRunner.h
include/CppUTest/CppUTestConfig.h
include/CppUTest/JUnitTestOutput.h
include/CppUTest/MemoryLeakDetector.h
include/CppUTest/MemoryLeakDetectorMallocMacros.h
include/CppUTest/MemoryLeakDetectorNewMacros.h
include/CppUTest/MemoryLeakWarningPlugin.h
include/CppUTest/PlatformSpecificFunctions.h
include/CppUTest/PlatformSpecificFunctions_c.h
include/CppUTest/SimpleMutex.h
include/CppUTest/SimpleString.h
include/CppUTest/StandardCLibrary.h
include/CppUTest/TestFailure.h
include/CppUTest/TestFilter.h
include/CppUTest/TestHarness.h
include/CppUTest/TestHarness_c.h
include/CppUTest/TestMemoryAllocator.h
include/CppUTest/TestOutput.h
include/CppUTest/TestPlugin.h
include/CppUTest/TestRegistry.h
include/CppUTest/TestResult.h
include/CppUTest/TestTestingFixture.h
include/CppUTest/Utest.h
include/CppUTest/UtestMacros.h
include/CppUTestExt/GMock.h
include/CppUTestExt/GTest.h
include/CppUTestExt/GTestConvertor.h
include/CppUTestExt/MemoryReportAllocator.h
include/CppUTestExt/MemoryReportFormatter.h
include/CppUTestExt/MemoryReporterPlugin.h
include/CppUTestExt/MockActualCall.h
include/CppUTestExt/MockCheckedActualCall.h
include/CppUTestExt/MockCheckedExpectedCall.h
include/CppUTestExt/MockExpectedCall.h
include/CppUTestExt/MockExpectedCallsList.h
include/CppUTestExt/MockFailure.h
include/CppUTestExt/MockNamedValue.h
include/CppUTestExt/MockSupport.h
include/CppUTestExt/MockSupportPlugin.h
include/CppUTestExt/MockSupport_c.h
include/CppUTestExt/OrderedTest.h
lib/libCppUTest.a
lib/libCppUTestExt.a
libdata/pkgconfig/cpputest.pc