All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-arm][PATCH] imx-test: Condition the mxc_epdc_x11_fb_test installation
@ 2013-02-07 21:14 Leonardo Sandoval
  2013-02-08 11:25 ` Otavio Salvador
  2013-02-08 17:36 ` Otavio Salvador
  0 siblings, 2 replies; 5+ messages in thread
From: Leonardo Sandoval @ 2013-02-07 21:14 UTC (permalink / raw)
  To: meta-freescale

Condition the compilation/installation of the unit test '/unit_tests/mxc_epdc_x11_fb_test'.
This binary is only valid on specific platforms (not yet supported by current layer) like IMX508.
Tested on a Sabre SD i.MX6Q board. Fixes: https://bugzilla.yoctoproject.org/show_bug.cgi?id=3615

[YOCTO #3615]

Signed-off-by: Leonardo Sandoval <leonardo.sandoval@freescale.com>
---
 recipes-bsp/imx-test/imx-test.inc                  |    3 ++-
 .../mxc_x11_test-exclude-IMX-5-6-platforms.patch   |   26 ++++++++++++++++++++
 2 files changed, 28 insertions(+), 1 deletion(-)
 create mode 100644 recipes-bsp/imx-test/imx-test/mxc_x11_test-exclude-IMX-5-6-platforms.patch

diff --git a/recipes-bsp/imx-test/imx-test.inc b/recipes-bsp/imx-test/imx-test.inc
index b3b9a07..70ee2c3 100644
--- a/recipes-bsp/imx-test/imx-test.inc
+++ b/recipes-bsp/imx-test/imx-test.inc
@@ -12,7 +12,8 @@ PLATFORM_mx53 = "IMX53"
 PLATFORM_mx51 = "IMX51"
 
 SRC_URI = "${FSL_MIRROR}/imx-test-${PV}.tar.gz \
-           file://clocks.sh"
+           file://clocks.sh \
+           file://mxc_x11_test-exclude-IMX-5-6-platforms.patch"
 
 
 do_compile() {
diff --git a/recipes-bsp/imx-test/imx-test/mxc_x11_test-exclude-IMX-5-6-platforms.patch b/recipes-bsp/imx-test/imx-test/mxc_x11_test-exclude-IMX-5-6-platforms.patch
new file mode 100644
index 0000000..0940780
--- /dev/null
+++ b/recipes-bsp/imx-test/imx-test/mxc_x11_test-exclude-IMX-5-6-platforms.patch
@@ -0,0 +1,26 @@
+From 868587e3e59bb70061c4c0bad9c6b6c009f8bd94 Mon Sep 17 00:00:00 2001
+From: Leonardo Sandoval <leonardo.sandoval@freescale.com>
+Date: Thu, 7 Feb 2013 14:53:02 -0600
+Subject: [PATCH] mxc_x11_test: exclude IMX[5|6] platforms
+
+Upstream-Status: Pending
+
+Signed-off-by: Leonardo Sandoval <leonardo.sandoval@freescale.com>
+---
+ test/mxc_x11_test/Makefile |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/mxc_x11_test/Makefile b/test/mxc_x11_test/Makefile
+index dd4ca7c..f4794fc 100644
+--- a/test/mxc_x11_test/Makefile
++++ b/test/mxc_x11_test/Makefile
+@@ -1,5 +1,5 @@
+ # list of platforms which did not want this test case
+-EXCLUDE_LIST:=
++EXCLUDE_LIST:=IMX6Q IMX53 IMX51
+ CFLAGS += -lm
+ LIBS += -lX11 -lXdamage -lXrender -lXrandr
+ 
+-- 
+1.7.9.5
+
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [meta-fsl-arm][PATCH] imx-test: Condition the mxc_epdc_x11_fb_test installation
  2013-02-07 21:14 [meta-fsl-arm][PATCH] imx-test: Condition the mxc_epdc_x11_fb_test installation Leonardo Sandoval
@ 2013-02-08 11:25 ` Otavio Salvador
  2013-02-08 17:29   ` Sandoval Gonzalez Leonardo-B42214
  2013-02-08 17:36 ` Otavio Salvador
  1 sibling, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2013-02-08 11:25 UTC (permalink / raw)
  To: Leonardo Sandoval; +Cc: meta-freescale

Hello Leonardo,

On Thu, Feb 7, 2013 at 7:14 PM, Leonardo Sandoval
<leonardo.sandoval@freescale.com> wrote:
> Condition the compilation/installation of the unit test '/unit_tests/mxc_epdc_x11_fb_test'.
> This binary is only valid on specific platforms (not yet supported by current layer) like IMX508.
> Tested on a Sabre SD i.MX6Q board. Fixes: https://bugzilla.yoctoproject.org/show_bug.cgi?id=3615
>
> [YOCTO #3615]
>
> Signed-off-by: Leonardo Sandoval <leonardo.sandoval@freescale.com>

Did you check if this works with imx53qsb? the version of imx-test
source is different there and we need to confirm it works there as
well.

Regards,

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-fsl-arm][PATCH] imx-test: Condition the mxc_epdc_x11_fb_test installation
  2013-02-08 11:25 ` Otavio Salvador
@ 2013-02-08 17:29   ` Sandoval Gonzalez Leonardo-B42214
  2013-02-08 17:33     ` Otavio Salvador
  0 siblings, 1 reply; 5+ messages in thread
From: Sandoval Gonzalez Leonardo-B42214 @ 2013-02-08 17:29 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale

I just tested on imx53qsb and patch worked as expected. I wonder if there are other unit test which are specific for certain platforms so we can created a more general patch handling all cases.
Any idea?

Leo
________________________________________
From: otavio.salvador@gmail.com [otavio.salvador@gmail.com] on behalf of Otavio Salvador [otavio@ossystems.com.br]
Sent: Friday, February 08, 2013 5:25 AM
To: Sandoval Gonzalez Leonardo-B42214
Cc: meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] [meta-fsl-arm][PATCH] imx-test: Condition the mxc_epdc_x11_fb_test installation

Hello Leonardo,

On Thu, Feb 7, 2013 at 7:14 PM, Leonardo Sandoval
<leonardo.sandoval@freescale.com> wrote:
> Condition the compilation/installation of the unit test '/unit_tests/mxc_epdc_x11_fb_test'.
> This binary is only valid on specific platforms (not yet supported by current layer) like IMX508.
> Tested on a Sabre SD i.MX6Q board. Fixes: https://bugzilla.yoctoproject.org/show_bug.cgi?id=3615
>
> [YOCTO #3615]
>
> Signed-off-by: Leonardo Sandoval <leonardo.sandoval@freescale.com>

Did you check if this works with imx53qsb? the version of imx-test
source is different there and we need to confirm it works there as
well.

Regards,

--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-fsl-arm][PATCH] imx-test: Condition the mxc_epdc_x11_fb_test installation
  2013-02-08 17:29   ` Sandoval Gonzalez Leonardo-B42214
@ 2013-02-08 17:33     ` Otavio Salvador
  0 siblings, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2013-02-08 17:33 UTC (permalink / raw)
  To: Sandoval Gonzalez Leonardo-B42214; +Cc: meta-freescale

On Fri, Feb 8, 2013 at 3:29 PM, Sandoval Gonzalez Leonardo-B42214
<B42214@freescale.com> wrote:
> I just tested on imx53qsb and patch worked as expected. I wonder if there are other unit test which are specific for certain platforms so we can created a more general patch handling all cases.
> Any idea?

Not packaged; we may package the imx-test of imx28 in future but we
handle it when the problem is raised ;-) I will apply it as is than.

Thank you.

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-fsl-arm][PATCH] imx-test: Condition the mxc_epdc_x11_fb_test installation
  2013-02-07 21:14 [meta-fsl-arm][PATCH] imx-test: Condition the mxc_epdc_x11_fb_test installation Leonardo Sandoval
  2013-02-08 11:25 ` Otavio Salvador
@ 2013-02-08 17:36 ` Otavio Salvador
  1 sibling, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2013-02-08 17:36 UTC (permalink / raw)
  To: Leonardo Sandoval; +Cc: meta-freescale

On Thu, Feb 7, 2013 at 7:14 PM, Leonardo Sandoval
<leonardo.sandoval@freescale.com> wrote:
> Condition the compilation/installation of the unit test '/unit_tests/mxc_epdc_x11_fb_test'.
> This binary is only valid on specific platforms (not yet supported by current layer) like IMX508.
> Tested on a Sabre SD i.MX6Q board. Fixes: https://bugzilla.yoctoproject.org/show_bug.cgi?id=3615
>
> [YOCTO #3615]
>
> Signed-off-by: Leonardo Sandoval <leonardo.sandoval@freescale.com>

Applied to master; I bumped PR and splitted commit log in 80 cols so
it is easier to read.

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-02-08 17:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-07 21:14 [meta-fsl-arm][PATCH] imx-test: Condition the mxc_epdc_x11_fb_test installation Leonardo Sandoval
2013-02-08 11:25 ` Otavio Salvador
2013-02-08 17:29   ` Sandoval Gonzalez Leonardo-B42214
2013-02-08 17:33     ` Otavio Salvador
2013-02-08 17:36 ` Otavio Salvador

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.