mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] cpputest: new package: C++ unit test framework
Date: Fri,  2 Jun 2023 09:17:39 +0200	[thread overview]
Message-ID: <20230602071739.1499748-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20230524223413.1079888-1-rhi@pengutronix.de>

Thanks, applied as 67951746da0af80e6e51e155fc9a1aa121ee5799.

Michael

[sent from post-receive hook]

On Fri, 02 Jun 2023 09:17:39 +0200, Roland Hieber <rhi@pengutronix.de> wrote:
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> Message-Id: <20230524223413.1079888-1-rhi@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/patches/cpputest-3.8/autogen.sh b/patches/cpputest-3.8/autogen.sh
> new file mode 120000
> index 000000000000..9f8a4cb7ddcb
> --- /dev/null
> +++ b/patches/cpputest-3.8/autogen.sh
> @@ -0,0 +1 @@
> +../autogen.sh
> \ No newline at end of file
> diff --git a/rules/cpputest.in b/rules/cpputest.in
> new file mode 100644
> index 000000000000..b2e7292d63e7
> --- /dev/null
> +++ b/rules/cpputest.in
> @@ -0,0 +1,7 @@
> +## SECTION=test_suites
> +
> +config CPPUTEST
> +	tristate
> +	prompt "cpputest"
> +	help
> +	  CppUTest unit test framework
> diff --git a/rules/cpputest.make b/rules/cpputest.make
> new file mode 100644
> index 000000000000..b900170c3633
> --- /dev/null
> +++ b/rules/cpputest.make
> @@ -0,0 +1,56 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2023 by Roland Hieber <rhi@pengutronix.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_CPPUTEST) += cpputest
> +
> +#
> +# Paths and names
> +#
> +CPPUTEST_VERSION	:= 3.8
> +CPPUTEST_MD5		:= fc34eab33c08e8dcd83698988e9a33c5
> +CPPUTEST		:= cpputest-$(CPPUTEST_VERSION)
> +CPPUTEST_SUFFIX		:= tar.gz
> +CPPUTEST_URL		:= https://github.com/cpputest/cpputest/releases/download/v$(CPPUTEST_VERSION)/$(CPPUTEST).$(CPPUTEST_SUFFIX)
> +CPPUTEST_SOURCE		:= $(SRCDIR)/$(CPPUTEST).$(CPPUTEST_SUFFIX)
> +CPPUTEST_DIR		:= $(BUILDDIR)/$(CPPUTEST)
> +CPPUTEST_LICENSE	:= BSD-3-Clause
> +CPPUTEST_LICENSE_FILES	:= file://COPYING;md5=ce5d5f1fe02bcd1343ced64a06fd4177
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +#
> +# autoconf
> +#
> +CPPUTEST_CONF_TOOL	:= autoconf
> +CPPUTEST_CONF_OPT	:=  \
> +	$(CROSS_AUTOCONF_USR) \
> +	--enable-std-c \
> +	--enable-std-cpp \
> +	--enable-std-cpp11 \
> +	--enable-cpputest-flags \
> +	--enable-memory-leak-detection \
> +	--enable-extensions \
> +	--enable-longlong \
> +	--enable-generate-map-file \
> +	--enable-coverage
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/cpputest.targetinstall:
> +	@$(call targetinfo)
> +	@# cpputest is a static library only
> +	@$(call touch)
> +
> +# vim: syntax=make
> diff --git a/rules/host-cpputest.in b/rules/host-cpputest.in
> new file mode 100644
> index 000000000000..7ef582262d20
> --- /dev/null
> +++ b/rules/host-cpputest.in
> @@ -0,0 +1,5 @@
> +## SECTION=hosttools_noprompt
> +
> +config HOST_CPPUTEST
> +	tristate
> +	default y if ALLYES
> diff --git a/rules/host-cpputest.make b/rules/host-cpputest.make
> new file mode 100644
> index 000000000000..a75dd5449706
> --- /dev/null
> +++ b/rules/host-cpputest.make
> @@ -0,0 +1,34 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2023 by Roland Hieber <rhi@pengutronix.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +HOST_PACKAGES-$(PTXCONF_HOST_CPPUTEST) += host-cpputest
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +#
> +# autoconf
> +#
> +HOST_CPPUTEST_CONF_TOOL	:= autoconf
> +CPPUTEST_CONF_OPT	:=  \
> +	$(HOST_AUTOCONF_USR) \
> +	--enable-std-c \
> +	--enable-std-cpp \
> +	--enable-std-cpp11 \
> +	--enable-cpputest-flags \
> +	--enable-memory-leak-detection \
> +	--enable-extensions \
> +	--enable-longlong \
> +	--enable-generate-map-file \
> +	--enable-coverage
> +
> +# vim: syntax=make



      parent reply	other threads:[~2023-06-02  7:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-24 22:34 [ptxdist] [PATCH v2 1/7] " Roland Hieber
2023-05-24 22:34 ` [ptxdist] [PATCH v2 2/7] libbson: new package: routines related to BSON documents Roland Hieber
2023-06-02  7:17   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-05-24 22:34 ` [ptxdist] [PATCH v2 3/7] libconfig: correct license and pin down license files Roland Hieber
2023-06-02  7:17   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-05-24 22:34 ` [ptxdist] [PATCH v2 4/7] libevent: amend license and pin down license file Roland Hieber
2023-06-02  7:17   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-05-24 22:34 ` [ptxdist] [PATCH v2 5/7] htmldoc: new package: HTML-to-PDF/PostScript/EPUB converter Roland Hieber
2023-06-02  7:17   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-05-24 22:34 ` [ptxdist] [PATCH v2 6/7] host-libconfig: add host package Roland Hieber
2023-06-02  7:17   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-05-24 22:34 ` [ptxdist] [PATCH v2 7/7] host-libevent: " Roland Hieber
2023-06-02  7:17   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-06-02  7:17 ` Michael Olbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230602071739.1499748-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    --cc=rhi@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox