summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace/strace/Makefile-ptest.patch
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-01-14 15:00:06 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-16 22:33:09 +0000
commita5e90281ac211e912ec6bfd6873e56152ec8bd4e (patch)
tree57d794698a70dee0977a988a18c857918906104d /meta/recipes-devtools/strace/strace/Makefile-ptest.patch
parent2758f6d0337ec84c9143546bc65a80559e8d7808 (diff)
downloadpoky-a5e90281ac211e912ec6bfd6873e56152ec8bd4e.tar.gz
strace: fix failing ptests
1. They need to be run under regular user. 2. Some tests genuinely need more time than 30 seconds 3. The Makefile patch erroneously introduced a test-breaking change. (From OE-Core rev: 3d6bf58c7080c1cacf3ed1f270ff5acf4858c790) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/strace/strace/Makefile-ptest.patch')
-rw-r--r--meta/recipes-devtools/strace/strace/Makefile-ptest.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/strace/strace/Makefile-ptest.patch b/meta/recipes-devtools/strace/strace/Makefile-ptest.patch
index 2437d1fb6d..1f01ef79f2 100644
--- a/meta/recipes-devtools/strace/strace/Makefile-ptest.patch
+++ b/meta/recipes-devtools/strace/strace/Makefile-ptest.patch
@@ -42,6 +42,6 @@ Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
42+ done 42+ done
43+ for file in $(EXTRA_DIST); do \ 43+ for file in $(EXTRA_DIST); do \
44+ install $(srcdir)/$$file $(DESTDIR)/$(TESTDIR); \ 44+ install $(srcdir)/$$file $(DESTDIR)/$(TESTDIR); \
45+ sed -i -e 's/$${srcdir=.}/./g' $(DESTDIR)/$(TESTDIR)/$$file; \ 45+ #sed -i -e 's/$${srcdir=.}/./g' $(DESTDIR)/$(TESTDIR)/$$file; \
46+ done 46+ done
47+ for i in net scm_rights-fd rt_sigaction; do sed -i -e 's/$$srcdir/./g' $(DESTDIR)/$(TESTDIR)/$$i.test; done 47+ for i in net scm_rights-fd rt_sigaction; do sed -i -e 's/$$srcdir/./g' $(DESTDIR)/$(TESTDIR)/$$i.test; done