Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: Richard Palethorpe <rpalethorpe@suse.com>, buildroot@buildroot.org
Cc: io@richiejp.com
Subject: Re: [Buildroot] [PATCH] package/ltp-testsuite: Add Open POSIX and realtime test suite opts
Date: Tue, 26 Oct 2021 21:59:59 +0200	[thread overview]
Message-ID: <f85a9e69-ce9d-904a-77ee-87b55855959c@mind.be> (raw)
In-Reply-To: <20211021112358.8769-1-rpalethorpe@suse.com>



On 21/10/2021 13:23, Richard Palethorpe via buildroot wrote:
> During LTP and/or kernel development it's very rare that I want the
> Open POSIX and the realtime tests. Open POSIX in particular takes
> considerable time to build. So this adds the option of disabling them.
> 
> They default to on so as not to break existing test automation.
> 
> Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com>
> Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
> Cc: io@richiejp.com

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   package/ltp-testsuite/Config.in        | 16 ++++++++++++++++
>   package/ltp-testsuite/ltp-testsuite.mk | 12 +++++++++---
>   2 files changed, 25 insertions(+), 3 deletions(-)
> 
> diff --git a/package/ltp-testsuite/Config.in b/package/ltp-testsuite/Config.in
> index 32e1b6ad76..272c2ede37 100644
> --- a/package/ltp-testsuite/Config.in
> +++ b/package/ltp-testsuite/Config.in
> @@ -20,6 +20,22 @@ config BR2_PACKAGE_LTP_TESTSUITE
>   
>   	  http://linux-test-project.github.io
>   
> +if BR2_PACKAGE_LTP_TESTSUITE
> +
> +config BR2_PACKAGE_LTP_TESTSUITE_OPEN_POSIX
> +	bool "Open POSIX testsuite"
> +	default y
> +	help
> +	  Test suite for POSIX compliance. Included with the LTP.
> +
> +config BR2_PACKAGE_LTP_TESTSUITE_REALTIME
> +	bool "Realtime testsuite"
> +	default y
> +	help
> +	  Test suite for realtime kernels. Included with the LTP.
> +
> +endif
> +
>   comment "ltp-testsuite needs a toolchain w/ NPTL"
>   	depends on BR2_PACKAGE_LTP_TESTSUITE_ARCH_SUPPORTS
>   	depends on BR2_USE_MMU
> diff --git a/package/ltp-testsuite/ltp-testsuite.mk b/package/ltp-testsuite/ltp-testsuite.mk
> index 3d8fe3b78c..cc6d3c63b6 100644
> --- a/package/ltp-testsuite/ltp-testsuite.mk
> +++ b/package/ltp-testsuite/ltp-testsuite.mk
> @@ -11,9 +11,15 @@ LTP_TESTSUITE_SITE = https://github.com/linux-test-project/ltp/releases/download
>   LTP_TESTSUITE_LICENSE = GPL-2.0, GPL-2.0+
>   LTP_TESTSUITE_LICENSE_FILES = COPYING
>   
> -LTP_TESTSUITE_CONF_OPTS += \
> -	--with-realtime-testsuite --with-open-posix-testsuite \
> -	--disable-metadata
> +LTP_TESTSUITE_CONF_OPTS += --disable-metadata
> +
> +ifeq ($(BR2_PACKAGE_LTP_TESTSUITE_OPEN_POSIX),y)
> +LTP_TESTSUITE_CONF_OPTS += --with-open-posix-testsuite
> +endif
> +
> +ifeq ($(BR2_PACKAGE_LTP_TESTSUITE_REALTIME),y)
> +LTP_TESTSUITE_CONF_OPTS += --with-realtime-testsuite
> +endif
>   
>   ifeq ($(BR2_LINUX_KERNEL),y)
>   LTP_TESTSUITE_DEPENDENCIES += linux
> 
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2021-10-26 20:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-21 11:23 [Buildroot] [PATCH] package/ltp-testsuite: Add Open POSIX and realtime test suite opts Richard Palethorpe via buildroot
2021-10-21 16:29 ` Petr Vorel
2021-10-26 19:59 ` Arnout Vandecappelle [this message]
     [not found] <20211015110135.15960-1-rpalethorpe@suse.com>
2021-10-15 20:10 ` Petr Vorel

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=f85a9e69-ce9d-904a-77ee-87b55855959c@mind.be \
    --to=arnout@mind.be \
    --cc=buildroot@buildroot.org \
    --cc=io@richiejp.com \
    --cc=rpalethorpe@suse.com \
    /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