summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/run-ptest
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2013-12-23 03:17:18 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-28 00:48:23 +0000
commit03ed9095b1ca54a060407f355be0ad9ec86b7610 (patch)
tree90a4649b38cd3b6dffb1f190294fe1deea5f506e /meta/recipes-core/systemd/systemd/run-ptest
parent0f3f8d6cad190cb8de9dba56c5933abdf4d99d07 (diff)
downloadopenembedded-core-03ed9095b1ca54a060407f355be0ad9ec86b7610.tar.gz
systemd: fix ptest to make it able to run on target
This patch mainly involves four changes. 1. Ship the sys.tar.xz and extract it on target to avoid ELOOP error. 2. Make systemd-ptest rdepend on bash and perl as the test cases need them. 3. Fix paths in Makefile so that the test cases could run on target. 4. Install ${libdir}/udev/rules.d directory to make udev-test.pl work. [YOCTO #5664] [YOCTO #5673] [YOCTO #5674] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/systemd/systemd/run-ptest')
-rw-r--r--meta/recipes-core/systemd/systemd/run-ptest1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/run-ptest b/meta/recipes-core/systemd/systemd/run-ptest
index 0418bc977b..2f6bd93a5b 100644
--- a/meta/recipes-core/systemd/systemd/run-ptest
+++ b/meta/recipes-core/systemd/systemd/run-ptest
@@ -1,2 +1,3 @@
+tar -C test -xJf test/sys.tar.xz
make test/rules-test.sh.log
make test/udev-test.pl.log