mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
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)
(From OE-Core rev: 7bc11ef93b02ff3b223fc0b3b730ce7b06181156)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a5e90281ac)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
fb2a791892
commit
00c9ca0b03
@@ -44,6 +44,6 @@ index 825c989..4623c48 100644
|
|||||||
+ done
|
+ done
|
||||||
+ for file in $(EXTRA_DIST); do \
|
+ for file in $(EXTRA_DIST); do \
|
||||||
+ install $(srcdir)/$$file $(DESTDIR)/$(TESTDIR); \
|
+ install $(srcdir)/$$file $(DESTDIR)/$(TESTDIR); \
|
||||||
+ sed -i -e 's/$${srcdir=.}/./g' $(DESTDIR)/$(TESTDIR)/$$file; \
|
+ #sed -i -e 's/$${srcdir=.}/./g' $(DESTDIR)/$(TESTDIR)/$$file; \
|
||||||
+ done
|
+ done
|
||||||
+ for i in net scm_rights-fd rt_sigaction; do sed -i -e 's/$$srcdir/./g' $(DESTDIR)/$(TESTDIR)/$$i.test; done
|
+ for i in net scm_rights-fd rt_sigaction; do sed -i -e 's/$$srcdir/./g' $(DESTDIR)/$(TESTDIR)/$$i.test; done
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
export TIMEOUT_DURATION=30
|
export TIMEOUT_DURATION=120
|
||||||
make -B -C tests -k test-suite.log
|
chown nobody tests
|
||||||
|
chown nobody tests/*
|
||||||
|
chown nobody ../ptest
|
||||||
|
su nobody -c "make -B -C tests -k test-suite.log"
|
||||||
|
|||||||
Reference in New Issue
Block a user