diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/strace/strace/Makefile-ptest.patch | 2 | ||||
-rwxr-xr-x | meta/recipes-devtools/strace/strace/run-ptest | 7 |
2 files changed, 6 insertions, 3 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 |
diff --git a/meta/recipes-devtools/strace/strace/run-ptest b/meta/recipes-devtools/strace/strace/run-ptest index 2fed984e90..4660207220 100755 --- a/meta/recipes-devtools/strace/strace/run-ptest +++ b/meta/recipes-devtools/strace/strace/run-ptest | |||
@@ -1,3 +1,6 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | export TIMEOUT_DURATION=30 | 2 | export TIMEOUT_DURATION=120 |
3 | make -B -C tests -k test-suite.log | 3 | chown nobody tests |
4 | chown nobody tests/* | ||
5 | chown nobody ../ptest | ||
6 | su nobody -c "make -B -C tests -k test-suite.log" | ||