* [PATCH 0/2] fix two ptest issues
@ 2014-08-18 5:19 Chong Lu
2014-08-18 5:19 ` [PATCH 1/2] perl: fix the output format of all tests Chong Lu
2014-08-18 5:19 ` [PATCH 2/2] strace: fix ptest execution failure Chong Lu
0 siblings, 2 replies; 3+ messages in thread
From: Chong Lu @ 2014-08-18 5:19 UTC (permalink / raw)
To: openembedded-core
The following changes since commit 59b0f7f01bbac6f1c10ee00382c5136d1f327960:
chrpath: Drop warning from darwn builds (2014-08-17 10:01:36 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib chonglu/perl
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=chonglu/perl
Chong Lu (2):
perl: fix the output format of all tests
strace: fix ptest execution failure
meta/recipes-devtools/perl/perl-5.20.0/run-ptest | 2 +-
.../strace/strace-4.8/Makefile-ptest.patch | 17 +++++++++++++++--
2 files changed, 16 insertions(+), 3 deletions(-)
--
1.9.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] perl: fix the output format of all tests
2014-08-18 5:19 [PATCH 0/2] fix two ptest issues Chong Lu
@ 2014-08-18 5:19 ` Chong Lu
2014-08-18 5:19 ` [PATCH 2/2] strace: fix ptest execution failure Chong Lu
1 sibling, 0 replies; 3+ messages in thread
From: Chong Lu @ 2014-08-18 5:19 UTC (permalink / raw)
To: openembedded-core
We should use "PASS:|FAIL:|SKIP: testname" to output results of ptest.
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
---
meta/recipes-devtools/perl/perl-5.20.0/run-ptest | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/perl/perl-5.20.0/run-ptest b/meta/recipes-devtools/perl/perl-5.20.0/run-ptest
index ed59b4b..1e2dd1b 100644
--- a/meta/recipes-devtools/perl/perl-5.20.0/run-ptest
+++ b/meta/recipes-devtools/perl/perl-5.20.0/run-ptest
@@ -1,2 +1,2 @@
#!/bin/sh
-cd t && ./TEST | sed -u -e 's/^\([^. \t]*\)\.\.\.\+ok/PASS: \1/' -e 's/^\([^. \t]*\)\.\.\.\+skipped/SKIP: \1/' -e 's/^\([^. \t]*\)\.\.\.\+\(.*\)/FAIL: \1\n\2/'
+cd t && ./TEST | sed -u -e 's|\(.*\) .* ok$|PASS: \1|' -e 's|\(.*\) .* skipped|SKIP: \1|' -e 's|\(.*\) \.\(.*\)|FAIL: \1|'
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] strace: fix ptest execution failure
2014-08-18 5:19 [PATCH 0/2] fix two ptest issues Chong Lu
2014-08-18 5:19 ` [PATCH 1/2] perl: fix the output format of all tests Chong Lu
@ 2014-08-18 5:19 ` Chong Lu
1 sibling, 0 replies; 3+ messages in thread
From: Chong Lu @ 2014-08-18 5:19 UTC (permalink / raw)
To: openembedded-core
ptest needs runtest-TESTS target.
serial-tests is required to generate this target.
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
---
.../strace/strace-4.8/Makefile-ptest.patch | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/strace/strace-4.8/Makefile-ptest.patch b/meta/recipes-devtools/strace/strace-4.8/Makefile-ptest.patch
index f5556b2..3a0eb39 100644
--- a/meta/recipes-devtools/strace/strace-4.8/Makefile-ptest.patch
+++ b/meta/recipes-devtools/strace/strace-4.8/Makefile-ptest.patch
@@ -1,11 +1,13 @@
strace: Add ptest
+Upstream-Status: Inappropriate
+
Signed-off-by: Gabriel Barbu <gabriel.barbu@enea.com>
-Upstream-Status: Pending
+Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
--- old/tests/Makefile.am 2013-07-23 13:44:24.660481381 +0200
+++ new/tests/Makefile.am 2013-07-23 16:22:42.937654391 +0200
-@@ -9,3 +9,20 @@
+@@ -9,3 +9,21 @@
EXTRA_DIST = init.sh $(TESTS)
CLEANFILES = check.log
@@ -18,6 +20,7 @@ Upstream-Status: Pending
+ install -d $(DESTDIR)/$(TESTDIR)
+ cp $(BUILDDIR)/$(TESTDIR)/Makefile $(DESTDIR)/$(TESTDIR)
+ sed -i -e 's/^Makefile:/_Makefile:/' $(DESTDIR)/$(TESTDIR)/Makefile
++ sed -i -e 's/bash/sh/' $(DESTDIR)/$(TESTDIR)/Makefile
+ for file in $(check_PROGRAMS); do \
+ install $(BUILDDIR)/$(TESTDIR)/$$file $(DESTDIR)/$(TESTDIR); \
+ done
@@ -26,3 +29,13 @@ Upstream-Status: Pending
+ sed -i -e 's/$${srcdir=.}/./g' $(DESTDIR)/$(TESTDIR)/$$file; \
+ done
+ sed -i -e 's/$$srcdir/./g' $(DESTDIR)/$(TESTDIR)/net
+--- a/configure.ac
++++ b/configure.ac
+@@ -6,7 +6,7 @@ AC_INIT([strace],
+ AC_CONFIG_SRCDIR([strace.c])
+ AC_CONFIG_AUX_DIR([.])
+ AC_CONFIG_HEADERS([config.h])
+-AM_INIT_AUTOMAKE([foreign dist-xz no-dist-gzip silent-rules])
++AM_INIT_AUTOMAKE([foreign dist-xz no-dist-gzip silent-rules serial-tests])
+ AM_MAINTAINER_MODE
+ AC_CANONICAL_HOST
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-08-18 5:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-18 5:19 [PATCH 0/2] fix two ptest issues Chong Lu
2014-08-18 5:19 ` [PATCH 1/2] perl: fix the output format of all tests Chong Lu
2014-08-18 5:19 ` [PATCH 2/2] strace: fix ptest execution failure Chong Lu
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.