mirror of
git://git.yoctoproject.org/poky
synced 2026-10-31 02:30:43 +00:00
- Updated update-gawk-paths.patch. - Updated Makefile-ptest.patch - Removed 0008-replace-struct-ucontext-with-ucontext_t.patch which is already in the source. - The LIC_FILES_CHKSUM is changed because the years have been updated, the contents are the same. (From OE-Core rev: 111e4a8642160c8441e447da32a4ef52995bbe99) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
58 lines
1.9 KiB
Diff
58 lines
1.9 KiB
Diff
From 0574ae9926308dcbca78bd8cd0f0f143f19cbcb5 Mon Sep 17 00:00:00 2001
|
|
From: Gabriel Barbu <gabriel.barbu@enea.com>
|
|
Date: Thu, 25 Jul 2013 15:28:33 +0200
|
|
Subject: [PATCH 4/8] strace: Add ptest
|
|
|
|
Upstream-Status: Inappropriate
|
|
|
|
Signed-off-by: Gabriel Barbu <gabriel.barbu@enea.com>
|
|
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
|
|
|
|
---
|
|
configure.ac | 2 +-
|
|
tests/Makefile.am | 18 ++++++++++++++++++
|
|
2 files changed, 19 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 61d6425..6387c24 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -41,7 +41,7 @@ AC_COPYRIGHT([Copyright (C) 1999-]copyright_year[ The strace developers.])
|
|
AC_CONFIG_SRCDIR([strace.c])
|
|
AC_CONFIG_AUX_DIR([.])
|
|
AC_CONFIG_HEADERS([config.h])
|
|
-AM_INIT_AUTOMAKE([foreign nostdinc dist-xz silent-rules parallel-tests])
|
|
+AM_INIT_AUTOMAKE([foreign nostdinc dist-xz silent-rules serial-tests])
|
|
AM_EXTRA_RECURSIVE_TARGETS([check-valgrind])
|
|
AM_MAINTAINER_MODE
|
|
AC_CANONICAL_HOST
|
|
diff --git a/tests/Makefile.am b/tests/Makefile.am
|
|
index 5aa7f89..a55a355 100644
|
|
--- a/tests/Makefile.am
|
|
+++ b/tests/Makefile.am
|
|
@@ -379,3 +379,21 @@ clean-local-check:
|
|
CLEANFILES = ksysent.h
|
|
|
|
include ../scno.am
|
|
+
|
|
+buildtest-TESTS: $(check_PROGRAMS) $(TESTS)
|
|
+
|
|
+install-ptest:
|
|
+ install $(BUILDDIR)/strace $(DESTDIR)
|
|
+ install $(srcdir)/../strace-log-merge $(DESTDIR)
|
|
+ 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
|
|
+ for file in $(EXTRA_DIST); do \
|
|
+ install $(srcdir)/$$file $(DESTDIR)/$(TESTDIR); \
|
|
+ sed -i -e 's/$${srcdir=.}/./g' $(DESTDIR)/$(TESTDIR)/$$file; \
|
|
+ done
|
|
+ for i in net scm_rights-fd rt_sigaction; do sed -i -e 's/$$srcdir/./g' $(DESTDIR)/$(TESTDIR)/$$i.test; done
|
|
--
|
|
2.13.2
|
|
|