All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ltp-ddt: remove scheduler trace patch no longer required
@ 2017-03-03 14:25 Carlos Hernandez
  2017-03-03 14:25 ` [PATCH 2/2] ltp-ddt: update to latest version Carlos Hernandez
  2017-03-03 19:05 ` [PATCH 1/2] ltp-ddt: remove scheduler trace patch no longer required Denys Dmytriyenko
  0 siblings, 2 replies; 8+ messages in thread
From: Carlos Hernandez @ 2017-03-03 14:25 UTC (permalink / raw)
  To: meta-arago; +Cc: yan-liu

Latest version of ltp fixes the problem and the patch
0029-trace_shed-Fix-build-with-musl.patch no longer applies.

Signed-off-by: Carlos Hernandez <ceh@ti.com>
---
 .../0029-trace_shed-Fix-build-with-musl.patch      | 32 ----------------------
 .../recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb   |  3 +-
 2 files changed, 1 insertion(+), 34 deletions(-)
 delete mode 100644 meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt/0029-trace_shed-Fix-build-with-musl.patch

diff --git a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt/0029-trace_shed-Fix-build-with-musl.patch b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt/0029-trace_shed-Fix-build-with-musl.patch
deleted file mode 100644
index f7ece9e18ef0..000000000000
--- a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt/0029-trace_shed-Fix-build-with-musl.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 2f8a57f66a94210d34dd0361659a8297cf3d813f Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Fri, 8 Jan 2016 07:29:24 +0000
-Subject: [PATCH 29/32] trace_shed: Fix build with musl
-
-Errors on musl are
-
-trace_sched.c:425:16: error: invalid operands to binary & (have
-'thread_sched_t * {aka struct <anonymous> *}' and 'int')
-      thrd_ndx, WEXITSTATUS(status));
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- testcases/kernel/sched/tool/trace_sched.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/testcases/kernel/sched/tool/trace_sched.c b/testcases/kernel/sched/tool/trace_sched.c
-index 7815686..30dca5f 100644
---- a/testcases/kernel/sched/tool/trace_sched.c
-+++ b/testcases/kernel/sched/tool/trace_sched.c
-@@ -422,7 +422,7 @@ int main(int argc,		/* number of input parameters.                        */
- 			if (status == (thread_sched_t *) - 1) {
- 				fprintf(stderr,
- 					"thread [%d] - process exited with errors %d\n",
--					thrd_ndx, WEXITSTATUS(status));
-+					thrd_ndx, WEXITSTATUS((int)status));
- 				exit(-1);
- 			} else {
- 				exp_prio[thrd_ndx] = status->exp_prio;
--- 
-2.7.0
-
diff --git a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
index 22b962141dba..3bb17c8f8535 100644
--- a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
+++ b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
@@ -17,8 +17,7 @@ inherit autotools-brokensep
 SRCREV = "429d12779e28e1997f656db19c5bf73edf9e9365"
 BRANCH ?= "master"
 
-SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH} \
-    file://0029-trace_shed-Fix-build-with-musl.patch"
+SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH}"
 
 S = "${WORKDIR}/git"
 
-- 
2.7.4



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

* [PATCH 2/2] ltp-ddt: update to latest version
  2017-03-03 14:25 [PATCH 1/2] ltp-ddt: remove scheduler trace patch no longer required Carlos Hernandez
@ 2017-03-03 14:25 ` Carlos Hernandez
  2017-03-03 19:03   ` Denys Dmytriyenko
                     ` (2 more replies)
  2017-03-03 19:05 ` [PATCH 1/2] ltp-ddt: remove scheduler trace patch no longer required Denys Dmytriyenko
  1 sibling, 3 replies; 8+ messages in thread
From: Carlos Hernandez @ 2017-03-03 14:25 UTC (permalink / raw)
  To: meta-arago; +Cc: yan-liu

Signed-off-by: Carlos Hernandez <ceh@ti.com>
---
 meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
index 3bb17c8f8535..8908092e8e09 100644
--- a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
+++ b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
@@ -14,7 +14,7 @@ RDEPENDS_${PN} += "pm-qa serialcheck"
 
 inherit autotools-brokensep
 
-SRCREV = "429d12779e28e1997f656db19c5bf73edf9e9365"
+SRCREV = "7b43afae8b931541388b0a7e6f65d7ceb6d01b3e"
 BRANCH ?= "master"
 
 SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH}"
-- 
2.7.4



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

* Re: [PATCH 2/2] ltp-ddt: update to latest version
  2017-03-03 14:25 ` [PATCH 2/2] ltp-ddt: update to latest version Carlos Hernandez
@ 2017-03-03 19:03   ` Denys Dmytriyenko
  2017-03-03 19:16   ` [PATCH 2/2 v2] ltp-ddt: update to latest ltp release 20170116 Carlos Hernandez
  2017-03-03 19:33   ` [PATCH v3] " Carlos Hernandez
  2 siblings, 0 replies; 8+ messages in thread
From: Denys Dmytriyenko @ 2017-03-03 19:03 UTC (permalink / raw)
  To: Carlos Hernandez; +Cc: meta-arago, yan-liu

Should probably change the version as well - it's no longer 20160510.

On Fri, Mar 03, 2017 at 09:25:49AM -0500, Carlos Hernandez wrote:
> Signed-off-by: Carlos Hernandez <ceh@ti.com>
> ---
>  meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
> index 3bb17c8f8535..8908092e8e09 100644
> --- a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
> +++ b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
> @@ -14,7 +14,7 @@ RDEPENDS_${PN} += "pm-qa serialcheck"
>  
>  inherit autotools-brokensep
>  
> -SRCREV = "429d12779e28e1997f656db19c5bf73edf9e9365"
> +SRCREV = "7b43afae8b931541388b0a7e6f65d7ceb6d01b3e"
>  BRANCH ?= "master"
>  
>  SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH}"
> -- 
> 2.7.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH 1/2] ltp-ddt: remove scheduler trace patch no longer required
  2017-03-03 14:25 [PATCH 1/2] ltp-ddt: remove scheduler trace patch no longer required Carlos Hernandez
  2017-03-03 14:25 ` [PATCH 2/2] ltp-ddt: update to latest version Carlos Hernandez
@ 2017-03-03 19:05 ` Denys Dmytriyenko
  1 sibling, 0 replies; 8+ messages in thread
From: Denys Dmytriyenko @ 2017-03-03 19:05 UTC (permalink / raw)
  To: Carlos Hernandez; +Cc: meta-arago, yan-liu

This will break bisect-ability - since removing the patch either before or 
after the upgrade can cause breakage, the only way is to do it in the same 
commit as the upgrade itself. Sure, commits have to be as granular, as 
possible, but at the same time they should be atomic.


On Fri, Mar 03, 2017 at 09:25:48AM -0500, Carlos Hernandez wrote:
> Latest version of ltp fixes the problem and the patch
> 0029-trace_shed-Fix-build-with-musl.patch no longer applies.
> 
> Signed-off-by: Carlos Hernandez <ceh@ti.com>
> ---
>  .../0029-trace_shed-Fix-build-with-musl.patch      | 32 ----------------------
>  .../recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb   |  3 +-
>  2 files changed, 1 insertion(+), 34 deletions(-)
>  delete mode 100644 meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt/0029-trace_shed-Fix-build-with-musl.patch
> 
> diff --git a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt/0029-trace_shed-Fix-build-with-musl.patch b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt/0029-trace_shed-Fix-build-with-musl.patch
> deleted file mode 100644
> index f7ece9e18ef0..000000000000
> --- a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt/0029-trace_shed-Fix-build-with-musl.patch
> +++ /dev/null
> @@ -1,32 +0,0 @@
> -From 2f8a57f66a94210d34dd0361659a8297cf3d813f Mon Sep 17 00:00:00 2001
> -From: Khem Raj <raj.khem@gmail.com>
> -Date: Fri, 8 Jan 2016 07:29:24 +0000
> -Subject: [PATCH 29/32] trace_shed: Fix build with musl
> -
> -Errors on musl are
> -
> -trace_sched.c:425:16: error: invalid operands to binary & (have
> -'thread_sched_t * {aka struct <anonymous> *}' and 'int')
> -      thrd_ndx, WEXITSTATUS(status));
> -
> -Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ----
> - testcases/kernel/sched/tool/trace_sched.c | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -diff --git a/testcases/kernel/sched/tool/trace_sched.c b/testcases/kernel/sched/tool/trace_sched.c
> -index 7815686..30dca5f 100644
> ---- a/testcases/kernel/sched/tool/trace_sched.c
> -+++ b/testcases/kernel/sched/tool/trace_sched.c
> -@@ -422,7 +422,7 @@ int main(int argc,		/* number of input parameters.                        */
> - 			if (status == (thread_sched_t *) - 1) {
> - 				fprintf(stderr,
> - 					"thread [%d] - process exited with errors %d\n",
> --					thrd_ndx, WEXITSTATUS(status));
> -+					thrd_ndx, WEXITSTATUS((int)status));
> - 				exit(-1);
> - 			} else {
> - 				exp_prio[thrd_ndx] = status->exp_prio;
> --- 
> -2.7.0
> -
> diff --git a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
> index 22b962141dba..3bb17c8f8535 100644
> --- a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
> +++ b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
> @@ -17,8 +17,7 @@ inherit autotools-brokensep
>  SRCREV = "429d12779e28e1997f656db19c5bf73edf9e9365"
>  BRANCH ?= "master"
>  
> -SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH} \
> -    file://0029-trace_shed-Fix-build-with-musl.patch"
> +SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH}"
>  
>  S = "${WORKDIR}/git"
>  
> -- 
> 2.7.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* [PATCH 2/2 v2] ltp-ddt: update to latest ltp release 20170116
  2017-03-03 14:25 ` [PATCH 2/2] ltp-ddt: update to latest version Carlos Hernandez
  2017-03-03 19:03   ` Denys Dmytriyenko
@ 2017-03-03 19:16   ` Carlos Hernandez
  2017-03-03 19:23     ` Denys Dmytriyenko
  2017-03-03 19:33   ` [PATCH v3] " Carlos Hernandez
  2 siblings, 1 reply; 8+ messages in thread
From: Carlos Hernandez @ 2017-03-03 19:16 UTC (permalink / raw)
  To: meta-arago; +Cc: yan-liu

Signed-off-by: Carlos Hernandez <ceh@ti.com>
---
 .../recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb   | 66 ----------------------
 .../recipes-devtools/ltp-ddt/ltp-ddt_20170116.bb   | 66 ++++++++++++++++++++++
 2 files changed, 66 insertions(+), 66 deletions(-)
 delete mode 100644 meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
 create mode 100644 meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20170116.bb

diff --git a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
deleted file mode 100644
index 3bb17c8f8535..000000000000
--- a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
+++ /dev/null
@@ -1,66 +0,0 @@
-SUMMARY = "Embedded Linux Device Driver Tests based on Linux Test Project"
-HOMEPAGE = "http://arago-project.org/git/projects/test-automation/ltp-ddt.git"
-SECTION = "console/utils"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-
-PR = "r10"
-PV_append = "+git${SRCPV}"
-
-PROVIDES += "ltp"
-DEPENDS += "zip-native alsa-lib libaio"
-
-RDEPENDS_${PN} += "pm-qa serialcheck"
-
-inherit autotools-brokensep
-
-SRCREV = "429d12779e28e1997f656db19c5bf73edf9e9365"
-BRANCH ?= "master"
-
-SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH}"
-
-S = "${WORKDIR}/git"
-
-LTPROOT = "/opt/ltp"
-
-EXTRA_OEMAKE_append = " \
-    prefix=${LTPROOT} \
-    CROSS_COMPILE=${HOST_PREFIX} \
-    SKIP_IDCHECK=1 \
-    KERNEL_USR_INC=${STAGING_INCDIR} \
-    ALSA_INCPATH=${STAGING_INCDIR} \
-    ALSA_LIBPATH=${STAGING_LIBDIR} \
-    RANLIB=${RANLIB} \
-    DESTDIR=${D} \
-    CC='${CC}' \
-"
-
-TARGET_CC_ARCH += "${LDFLAGS}"
-
-FILES_${PN}-dbg += " \
-    ${LTPROOT}/.debug \
-    ${LTPROOT}/bin/.debug \
-    ${LTPROOT}/runtest/.debug \
-    ${LTPROOT}/testcases/bin/.debug \
-    ${LTPROOT}/testcases/bin/*/bin/.debug \
-    ${LTPROOT}/testcases/bin/*/test/.debug \
-    ${LTPROOT}/testcases/bin/ddt/.debug \
-    ${LTPROOT}/testcases/bin/ddt/*/bin/.debug \
-    ${LTPROOT}/testcases/bin/ddt/*/test/.debug \
-    ${LTPROOT}/testcases/realtime/*/*/.debug \
-"
-
-FILES_${PN}-staticdev += "${LTPROOT}/lib"
-FILES_${PN} += "${LTPROOT}/*"
-
-# The makefiles make excessive use of make -C and several include testcases.mk
-# which triggers a build of the syscall header. To reproduce, build ltp,
-# then delete the header, then "make -j XX" and watch regen.sh run multiple
-# times. Its easier to generate this once here instead.
-do_compile_prepend () {
-    ( make -C ${B}/testcases/kernel include/linux_syscall_numbers.h )
-}
-
-do_install() {
-    oe_runmake install
-}
diff --git a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20170116.bb b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20170116.bb
new file mode 100644
index 000000000000..2d78fa835c9f
--- /dev/null
+++ b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20170116.bb
@@ -0,0 +1,66 @@
+SUMMARY = "Embedded Linux Device Driver Tests based on Linux Test Project"
+HOMEPAGE = "http://arago-project.org/git/projects/test-automation/ltp-ddt.git"
+SECTION = "console/utils"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+PR = "r11"
+PV_append = "+git${SRCPV}"
+
+PROVIDES += "ltp"
+DEPENDS += "zip-native alsa-lib libaio"
+
+RDEPENDS_${PN} += "pm-qa serialcheck"
+
+inherit autotools-brokensep
+
+SRCREV = "7b43afae8b931541388b0a7e6f65d7ceb6d01b3e"
+BRANCH ?= "master"
+
+SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+LTPROOT = "/opt/ltp"
+
+EXTRA_OEMAKE_append = " \
+    prefix=${LTPROOT} \
+    CROSS_COMPILE=${HOST_PREFIX} \
+    SKIP_IDCHECK=1 \
+    KERNEL_USR_INC=${STAGING_INCDIR} \
+    ALSA_INCPATH=${STAGING_INCDIR} \
+    ALSA_LIBPATH=${STAGING_LIBDIR} \
+    RANLIB=${RANLIB} \
+    DESTDIR=${D} \
+    CC='${CC}' \
+"
+
+TARGET_CC_ARCH += "${LDFLAGS}"
+
+FILES_${PN}-dbg += " \
+    ${LTPROOT}/.debug \
+    ${LTPROOT}/bin/.debug \
+    ${LTPROOT}/runtest/.debug \
+    ${LTPROOT}/testcases/bin/.debug \
+    ${LTPROOT}/testcases/bin/*/bin/.debug \
+    ${LTPROOT}/testcases/bin/*/test/.debug \
+    ${LTPROOT}/testcases/bin/ddt/.debug \
+    ${LTPROOT}/testcases/bin/ddt/*/bin/.debug \
+    ${LTPROOT}/testcases/bin/ddt/*/test/.debug \
+    ${LTPROOT}/testcases/realtime/*/*/.debug \
+"
+
+FILES_${PN}-staticdev += "${LTPROOT}/lib"
+FILES_${PN} += "${LTPROOT}/*"
+
+# The makefiles make excessive use of make -C and several include testcases.mk
+# which triggers a build of the syscall header. To reproduce, build ltp,
+# then delete the header, then "make -j XX" and watch regen.sh run multiple
+# times. Its easier to generate this once here instead.
+do_compile_prepend () {
+    ( make -C ${B}/testcases/kernel include/linux_syscall_numbers.h )
+}
+
+do_install() {
+    oe_runmake install
+}
-- 
2.7.4



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

* Re: [PATCH 2/2 v2] ltp-ddt: update to latest ltp release 20170116
  2017-03-03 19:16   ` [PATCH 2/2 v2] ltp-ddt: update to latest ltp release 20170116 Carlos Hernandez
@ 2017-03-03 19:23     ` Denys Dmytriyenko
  0 siblings, 0 replies; 8+ messages in thread
From: Denys Dmytriyenko @ 2017-03-03 19:23 UTC (permalink / raw)
  To: Carlos Hernandez; +Cc: meta-arago, yan-liu

Did you forget -M/-C flag in git format-patch? :)

On Fri, Mar 03, 2017 at 02:16:52PM -0500, Carlos Hernandez wrote:
> Signed-off-by: Carlos Hernandez <ceh@ti.com>
> ---
>  .../recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb   | 66 ----------------------
>  .../recipes-devtools/ltp-ddt/ltp-ddt_20170116.bb   | 66 ++++++++++++++++++++++
>  2 files changed, 66 insertions(+), 66 deletions(-)
>  delete mode 100644 meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
>  create mode 100644 meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20170116.bb
> 
> diff --git a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
> deleted file mode 100644
> index 3bb17c8f8535..000000000000
> --- a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
> +++ /dev/null
> @@ -1,66 +0,0 @@
> -SUMMARY = "Embedded Linux Device Driver Tests based on Linux Test Project"
> -HOMEPAGE = "http://arago-project.org/git/projects/test-automation/ltp-ddt.git"
> -SECTION = "console/utils"
> -LICENSE = "GPLv2"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
> -
> -PR = "r10"
> -PV_append = "+git${SRCPV}"
> -
> -PROVIDES += "ltp"
> -DEPENDS += "zip-native alsa-lib libaio"
> -
> -RDEPENDS_${PN} += "pm-qa serialcheck"
> -
> -inherit autotools-brokensep
> -
> -SRCREV = "429d12779e28e1997f656db19c5bf73edf9e9365"
> -BRANCH ?= "master"
> -
> -SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH}"
> -
> -S = "${WORKDIR}/git"
> -
> -LTPROOT = "/opt/ltp"
> -
> -EXTRA_OEMAKE_append = " \
> -    prefix=${LTPROOT} \
> -    CROSS_COMPILE=${HOST_PREFIX} \
> -    SKIP_IDCHECK=1 \
> -    KERNEL_USR_INC=${STAGING_INCDIR} \
> -    ALSA_INCPATH=${STAGING_INCDIR} \
> -    ALSA_LIBPATH=${STAGING_LIBDIR} \
> -    RANLIB=${RANLIB} \
> -    DESTDIR=${D} \
> -    CC='${CC}' \
> -"
> -
> -TARGET_CC_ARCH += "${LDFLAGS}"
> -
> -FILES_${PN}-dbg += " \
> -    ${LTPROOT}/.debug \
> -    ${LTPROOT}/bin/.debug \
> -    ${LTPROOT}/runtest/.debug \
> -    ${LTPROOT}/testcases/bin/.debug \
> -    ${LTPROOT}/testcases/bin/*/bin/.debug \
> -    ${LTPROOT}/testcases/bin/*/test/.debug \
> -    ${LTPROOT}/testcases/bin/ddt/.debug \
> -    ${LTPROOT}/testcases/bin/ddt/*/bin/.debug \
> -    ${LTPROOT}/testcases/bin/ddt/*/test/.debug \
> -    ${LTPROOT}/testcases/realtime/*/*/.debug \
> -"
> -
> -FILES_${PN}-staticdev += "${LTPROOT}/lib"
> -FILES_${PN} += "${LTPROOT}/*"
> -
> -# The makefiles make excessive use of make -C and several include testcases.mk
> -# which triggers a build of the syscall header. To reproduce, build ltp,
> -# then delete the header, then "make -j XX" and watch regen.sh run multiple
> -# times. Its easier to generate this once here instead.
> -do_compile_prepend () {
> -    ( make -C ${B}/testcases/kernel include/linux_syscall_numbers.h )
> -}
> -
> -do_install() {
> -    oe_runmake install
> -}
> diff --git a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20170116.bb b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20170116.bb
> new file mode 100644
> index 000000000000..2d78fa835c9f
> --- /dev/null
> +++ b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20170116.bb
> @@ -0,0 +1,66 @@
> +SUMMARY = "Embedded Linux Device Driver Tests based on Linux Test Project"
> +HOMEPAGE = "http://arago-project.org/git/projects/test-automation/ltp-ddt.git"
> +SECTION = "console/utils"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
> +
> +PR = "r11"
> +PV_append = "+git${SRCPV}"
> +
> +PROVIDES += "ltp"
> +DEPENDS += "zip-native alsa-lib libaio"
> +
> +RDEPENDS_${PN} += "pm-qa serialcheck"
> +
> +inherit autotools-brokensep
> +
> +SRCREV = "7b43afae8b931541388b0a7e6f65d7ceb6d01b3e"
> +BRANCH ?= "master"
> +
> +SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH}"
> +
> +S = "${WORKDIR}/git"
> +
> +LTPROOT = "/opt/ltp"
> +
> +EXTRA_OEMAKE_append = " \
> +    prefix=${LTPROOT} \
> +    CROSS_COMPILE=${HOST_PREFIX} \
> +    SKIP_IDCHECK=1 \
> +    KERNEL_USR_INC=${STAGING_INCDIR} \
> +    ALSA_INCPATH=${STAGING_INCDIR} \
> +    ALSA_LIBPATH=${STAGING_LIBDIR} \
> +    RANLIB=${RANLIB} \
> +    DESTDIR=${D} \
> +    CC='${CC}' \
> +"
> +
> +TARGET_CC_ARCH += "${LDFLAGS}"
> +
> +FILES_${PN}-dbg += " \
> +    ${LTPROOT}/.debug \
> +    ${LTPROOT}/bin/.debug \
> +    ${LTPROOT}/runtest/.debug \
> +    ${LTPROOT}/testcases/bin/.debug \
> +    ${LTPROOT}/testcases/bin/*/bin/.debug \
> +    ${LTPROOT}/testcases/bin/*/test/.debug \
> +    ${LTPROOT}/testcases/bin/ddt/.debug \
> +    ${LTPROOT}/testcases/bin/ddt/*/bin/.debug \
> +    ${LTPROOT}/testcases/bin/ddt/*/test/.debug \
> +    ${LTPROOT}/testcases/realtime/*/*/.debug \
> +"
> +
> +FILES_${PN}-staticdev += "${LTPROOT}/lib"
> +FILES_${PN} += "${LTPROOT}/*"
> +
> +# The makefiles make excessive use of make -C and several include testcases.mk
> +# which triggers a build of the syscall header. To reproduce, build ltp,
> +# then delete the header, then "make -j XX" and watch regen.sh run multiple
> +# times. Its easier to generate this once here instead.
> +do_compile_prepend () {
> +    ( make -C ${B}/testcases/kernel include/linux_syscall_numbers.h )
> +}
> +
> +do_install() {
> +    oe_runmake install
> +}
> -- 
> 2.7.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* [PATCH v3] ltp-ddt: update to latest ltp release 20170116
  2017-03-03 14:25 ` [PATCH 2/2] ltp-ddt: update to latest version Carlos Hernandez
  2017-03-03 19:03   ` Denys Dmytriyenko
  2017-03-03 19:16   ` [PATCH 2/2 v2] ltp-ddt: update to latest ltp release 20170116 Carlos Hernandez
@ 2017-03-03 19:33   ` Carlos Hernandez
  2017-03-03 21:00     ` Denys Dmytriyenko
  2 siblings, 1 reply; 8+ messages in thread
From: Carlos Hernandez @ 2017-03-03 19:33 UTC (permalink / raw)
  To: meta-arago; +Cc: yan-liu

remove scheduler trace patch no longer required
Latest version of ltp fixes the problem and the patch
0029-trace_shed-Fix-build-with-musl.patch no longer applies.

Signed-off-by: Carlos Hernandez <ceh@ti.com>
---
 .../0029-trace_shed-Fix-build-with-musl.patch      | 32 ----------------------
 .../{ltp-ddt_20160510.bb => ltp-ddt_20170116.bb}   |  7 ++---
 2 files changed, 3 insertions(+), 36 deletions(-)
 delete mode 100644 meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt/0029-trace_shed-Fix-build-with-musl.patch
 rename meta-arago-extras/recipes-devtools/ltp-ddt/{ltp-ddt_20160510.bb => ltp-ddt_20170116.bb} (92%)

diff --git a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt/0029-trace_shed-Fix-build-with-musl.patch b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt/0029-trace_shed-Fix-build-with-musl.patch
deleted file mode 100644
index f7ece9e18ef0..000000000000
--- a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt/0029-trace_shed-Fix-build-with-musl.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 2f8a57f66a94210d34dd0361659a8297cf3d813f Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Fri, 8 Jan 2016 07:29:24 +0000
-Subject: [PATCH 29/32] trace_shed: Fix build with musl
-
-Errors on musl are
-
-trace_sched.c:425:16: error: invalid operands to binary & (have
-'thread_sched_t * {aka struct <anonymous> *}' and 'int')
-      thrd_ndx, WEXITSTATUS(status));
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- testcases/kernel/sched/tool/trace_sched.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/testcases/kernel/sched/tool/trace_sched.c b/testcases/kernel/sched/tool/trace_sched.c
-index 7815686..30dca5f 100644
---- a/testcases/kernel/sched/tool/trace_sched.c
-+++ b/testcases/kernel/sched/tool/trace_sched.c
-@@ -422,7 +422,7 @@ int main(int argc,		/* number of input parameters.                        */
- 			if (status == (thread_sched_t *) - 1) {
- 				fprintf(stderr,
- 					"thread [%d] - process exited with errors %d\n",
--					thrd_ndx, WEXITSTATUS(status));
-+					thrd_ndx, WEXITSTATUS((int)status));
- 				exit(-1);
- 			} else {
- 				exp_prio[thrd_ndx] = status->exp_prio;
--- 
-2.7.0
-
diff --git a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20170116.bb
similarity index 92%
rename from meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
rename to meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20170116.bb
index 22b962141dba..2d78fa835c9f 100644
--- a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
+++ b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20170116.bb
@@ -4,7 +4,7 @@ SECTION = "console/utils"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-PR = "r10"
+PR = "r11"
 PV_append = "+git${SRCPV}"
 
 PROVIDES += "ltp"
@@ -14,11 +14,10 @@ RDEPENDS_${PN} += "pm-qa serialcheck"
 
 inherit autotools-brokensep
 
-SRCREV = "429d12779e28e1997f656db19c5bf73edf9e9365"
+SRCREV = "7b43afae8b931541388b0a7e6f65d7ceb6d01b3e"
 BRANCH ?= "master"
 
-SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH} \
-    file://0029-trace_shed-Fix-build-with-musl.patch"
+SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH}"
 
 S = "${WORKDIR}/git"
 
-- 
2.7.4



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

* Re: [PATCH v3] ltp-ddt: update to latest ltp release 20170116
  2017-03-03 19:33   ` [PATCH v3] " Carlos Hernandez
@ 2017-03-03 21:00     ` Denys Dmytriyenko
  0 siblings, 0 replies; 8+ messages in thread
From: Denys Dmytriyenko @ 2017-03-03 21:00 UTC (permalink / raw)
  To: Carlos Hernandez; +Cc: meta-arago, yan-liu

Ack, thanks.

On Fri, Mar 03, 2017 at 02:33:39PM -0500, Carlos Hernandez wrote:
> remove scheduler trace patch no longer required
> Latest version of ltp fixes the problem and the patch
> 0029-trace_shed-Fix-build-with-musl.patch no longer applies.
> 
> Signed-off-by: Carlos Hernandez <ceh@ti.com>
> ---
>  .../0029-trace_shed-Fix-build-with-musl.patch      | 32 ----------------------
>  .../{ltp-ddt_20160510.bb => ltp-ddt_20170116.bb}   |  7 ++---
>  2 files changed, 3 insertions(+), 36 deletions(-)
>  delete mode 100644 meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt/0029-trace_shed-Fix-build-with-musl.patch
>  rename meta-arago-extras/recipes-devtools/ltp-ddt/{ltp-ddt_20160510.bb => ltp-ddt_20170116.bb} (92%)
> 
> diff --git a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt/0029-trace_shed-Fix-build-with-musl.patch b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt/0029-trace_shed-Fix-build-with-musl.patch
> deleted file mode 100644
> index f7ece9e18ef0..000000000000
> --- a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt/0029-trace_shed-Fix-build-with-musl.patch
> +++ /dev/null
> @@ -1,32 +0,0 @@
> -From 2f8a57f66a94210d34dd0361659a8297cf3d813f Mon Sep 17 00:00:00 2001
> -From: Khem Raj <raj.khem@gmail.com>
> -Date: Fri, 8 Jan 2016 07:29:24 +0000
> -Subject: [PATCH 29/32] trace_shed: Fix build with musl
> -
> -Errors on musl are
> -
> -trace_sched.c:425:16: error: invalid operands to binary & (have
> -'thread_sched_t * {aka struct <anonymous> *}' and 'int')
> -      thrd_ndx, WEXITSTATUS(status));
> -
> -Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ----
> - testcases/kernel/sched/tool/trace_sched.c | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -diff --git a/testcases/kernel/sched/tool/trace_sched.c b/testcases/kernel/sched/tool/trace_sched.c
> -index 7815686..30dca5f 100644
> ---- a/testcases/kernel/sched/tool/trace_sched.c
> -+++ b/testcases/kernel/sched/tool/trace_sched.c
> -@@ -422,7 +422,7 @@ int main(int argc,		/* number of input parameters.                        */
> - 			if (status == (thread_sched_t *) - 1) {
> - 				fprintf(stderr,
> - 					"thread [%d] - process exited with errors %d\n",
> --					thrd_ndx, WEXITSTATUS(status));
> -+					thrd_ndx, WEXITSTATUS((int)status));
> - 				exit(-1);
> - 			} else {
> - 				exp_prio[thrd_ndx] = status->exp_prio;
> --- 
> -2.7.0
> -
> diff --git a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20170116.bb
> similarity index 92%
> rename from meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
> rename to meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20170116.bb
> index 22b962141dba..2d78fa835c9f 100644
> --- a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
> +++ b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20170116.bb
> @@ -4,7 +4,7 @@ SECTION = "console/utils"
>  LICENSE = "GPLv2"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
>  
> -PR = "r10"
> +PR = "r11"
>  PV_append = "+git${SRCPV}"
>  
>  PROVIDES += "ltp"
> @@ -14,11 +14,10 @@ RDEPENDS_${PN} += "pm-qa serialcheck"
>  
>  inherit autotools-brokensep
>  
> -SRCREV = "429d12779e28e1997f656db19c5bf73edf9e9365"
> +SRCREV = "7b43afae8b931541388b0a7e6f65d7ceb6d01b3e"
>  BRANCH ?= "master"
>  
> -SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH} \
> -    file://0029-trace_shed-Fix-build-with-musl.patch"
> +SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH}"
>  
>  S = "${WORKDIR}/git"
>  
> -- 
> 2.7.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

end of thread, other threads:[~2017-03-03 21:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-03 14:25 [PATCH 1/2] ltp-ddt: remove scheduler trace patch no longer required Carlos Hernandez
2017-03-03 14:25 ` [PATCH 2/2] ltp-ddt: update to latest version Carlos Hernandez
2017-03-03 19:03   ` Denys Dmytriyenko
2017-03-03 19:16   ` [PATCH 2/2 v2] ltp-ddt: update to latest ltp release 20170116 Carlos Hernandez
2017-03-03 19:23     ` Denys Dmytriyenko
2017-03-03 19:33   ` [PATCH v3] " Carlos Hernandez
2017-03-03 21:00     ` Denys Dmytriyenko
2017-03-03 19:05 ` [PATCH 1/2] ltp-ddt: remove scheduler trace patch no longer required Denys Dmytriyenko

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.