All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v8 3/3] openjdk-hello-world: new test
Date: Sun, 17 Mar 2019 14:10:07 +0100	[thread overview]
Message-ID: <20190317141007.065e8bb9@windsurf> (raw)
In-Reply-To: <20190315205233.128763-3-aduskett@gmail.com>

Hello,

On Fri, 15 Mar 2019 16:52:33 -0400
aduskett at gmail.com wrote:

> diff --git a/DEVELOPERS b/DEVELOPERS
> index b4511bb053..ffd472d720 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -1500,6 +1500,7 @@ F:	package/valijson/
>  F:	package/wpa_supplicant/
>  F:	package/wireless_tools/
>  F:	package/xen/
> +F:	support/testing/tests/package/br2-external/openjdk/

The test_openjdk.py file was not listed here, so I've added it.

> diff --git a/support/testing/tests/package/br2-external/openjdk/package/openjdk-hello-world/Config.in b/support/testing/tests/package/br2-external/openjdk/package/openjdk-hello-world/Config.in
> new file mode 100644
> index 0000000000..4f9022fb92
> --- /dev/null
> +++ b/support/testing/tests/package/br2-external/openjdk/package/openjdk-hello-world/Config.in
> @@ -0,0 +1,26 @@
> +config BR2_PACKAGE_OPENJDK_HELLO_WORLD
> +	bool "openjdk hello world"
> +	depends on BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS
> +	depends on BR2_TOOLCHAIN_USES_GLIBC
> +	depends on BR2_PACKAGE_XORG7
> +	depends on BR2_USE_WCHAR # gtk2 -> glib2
> +	depends on BR2_TOOLCHAIN_HAS_THREADS # gtk2 -> glib2
> +	depends on BR2_USE_MMU # gtk2 -> glib2
> +	depends on BR2_INSTALL_LIBSTDCPP # gtk2, cups
> +	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
> +	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # gtk2 -> pango -> harfbuzz
> +	depends on !BR2_STATIC_LIBS
> +	select BR2_PACKAGE_OPENJDK

For a test case, I don't think it made a lot of sense to replicate all
those dependencies. For example, you were missing the dependency
on !BR2_SOFT_FLOAT.

So instead, I've replaced all of this by a much simpler;

	depends on BR2_PACKAGE_OPENJDK

Applied with this fixed.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2019-03-17 13:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-15 20:52 [Buildroot] [PATCH v8 1/3] openjdk: new package aduskett at gmail.com
2019-03-15 20:52 ` [Buildroot] [PATCH v8 2/3] package/openjdk: package/openjdk: Add AArch64 support aduskett at gmail.com
2019-03-15 21:01   ` Thomas Petazzoni
2019-03-16 17:13     ` Adam Duskett
2019-03-17 13:08   ` Thomas Petazzoni
2019-03-15 20:52 ` [Buildroot] [PATCH v8 3/3] openjdk-hello-world: new test aduskett at gmail.com
2019-03-17 13:10   ` Thomas Petazzoni [this message]
2019-03-17 13:08 ` [Buildroot] [PATCH v8 1/3] openjdk: new package Thomas Petazzoni
2019-03-19 21:51 ` Thomas Petazzoni

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=20190317141007.065e8bb9@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.