summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace/strace/Makefile-ptest.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/strace/strace/Makefile-ptest.patch')
-rw-r--r--meta/recipes-devtools/strace/strace/Makefile-ptest.patch18
1 files changed, 9 insertions, 9 deletions
diff --git a/meta/recipes-devtools/strace/strace/Makefile-ptest.patch b/meta/recipes-devtools/strace/strace/Makefile-ptest.patch
index f3603012f4..824031e863 100644
--- a/meta/recipes-devtools/strace/strace/Makefile-ptest.patch
+++ b/meta/recipes-devtools/strace/strace/Makefile-ptest.patch
@@ -10,32 +10,32 @@ Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
10 2 files changed, 19 insertions(+), 1 deletion(-) 10 2 files changed, 19 insertions(+), 1 deletion(-)
11 11
12diff --git a/configure.ac b/configure.ac 12diff --git a/configure.ac b/configure.ac
13index e73958c..5f0dfee 100644 13index 0209bac..b969e25 100644
14--- a/configure.ac 14--- a/configure.ac
15+++ b/configure.ac 15+++ b/configure.ac
16@@ -6,7 +6,7 @@ AC_INIT([strace], 16@@ -36,7 +36,7 @@ AC_INIT([strace],
17 AC_CONFIG_SRCDIR([strace.c]) 17 AC_CONFIG_SRCDIR([strace.c])
18 AC_CONFIG_AUX_DIR([.]) 18 AC_CONFIG_AUX_DIR([.])
19 AC_CONFIG_HEADERS([config.h]) 19 AC_CONFIG_HEADERS([config.h])
20-AM_INIT_AUTOMAKE([foreign dist-xz no-dist-gzip silent-rules parallel-tests]) 20-AM_INIT_AUTOMAKE([foreign nostdinc dist-xz no-dist-gzip silent-rules parallel-tests])
21+AM_INIT_AUTOMAKE([foreign dist-xz no-dist-gzip silent-rules serial-tests]) 21+AM_INIT_AUTOMAKE([foreign nostdinc dist-xz no-dist-gzip silent-rules serial-tests])
22 AM_MAINTAINER_MODE 22 AM_MAINTAINER_MODE
23 AC_CANONICAL_HOST 23 AC_CANONICAL_HOST
24 24
25diff --git a/tests/Makefile.am b/tests/Makefile.am 25diff --git a/tests/Makefile.am b/tests/Makefile.am
26index ff5e136..984bdb6 100644 26index 0f23b4b..429f7e9 100644
27--- a/tests/Makefile.am 27--- a/tests/Makefile.am
28+++ b/tests/Makefile.am 28+++ b/tests/Makefile.am
29@@ -101,3 +101,21 @@ EXTRA_DIST = init.sh run.sh \ 29@@ -332,3 +332,21 @@ ksysent.h: $(srcdir)/ksysent.sed
30 $(TESTS)
31 30
32 CLEANFILES = $(TESTS:=.tmp) 31 BUILT_SOURCES = ksysent.h
32 CLEANFILES = ksysent.h $(TESTS:=.tmp)
33+ 33+
34+buildtest-TESTS: $(check_PROGRAMS) $(TESTS) 34+buildtest-TESTS: $(check_PROGRAMS) $(TESTS)
35+ 35+
36+install-ptest: 36+install-ptest:
37+ install $(BUILDDIR)/strace $(DESTDIR) 37+ install $(BUILDDIR)/strace $(DESTDIR)
38+ install "$(srcdir)/.."/strace-log-merge $(DESTDIR) 38+ install $(srcdir)/../strace-log-merge $(DESTDIR)
39+ install -d $(DESTDIR)/$(TESTDIR) 39+ install -d $(DESTDIR)/$(TESTDIR)
40+ cp $(BUILDDIR)/$(TESTDIR)/Makefile $(DESTDIR)/$(TESTDIR) 40+ cp $(BUILDDIR)/$(TESTDIR)/Makefile $(DESTDIR)/$(TESTDIR)
41+ sed -i -e 's/^Makefile:/_Makefile:/' $(DESTDIR)/$(TESTDIR)/Makefile 41+ sed -i -e 's/^Makefile:/_Makefile:/' $(DESTDIR)/$(TESTDIR)/Makefile