[OE-core] [PATCH] bash: append srcdir to run-ptest script
Ajay M
ajay.gju at gmail.com
Wed Aug 12 07:05:37 UTC 2015
If srcdir is not set, we get below error while running ptest for bash
on qemu target,
-- snip --
root at qemux86:/usr/lib/bash/ptest# ./run-ptest
/bin/sh: line 0: cd: /home/ajay/Downloads/poky-fido-13.0.0/build/tmp/work/i586-poky-linux/bash/4.3-r1/bash-4.3/tests: No such file or directory
Makefile:879: recipe for target 'runtest' failed
make: *** [runtest] Error 1
root at qemux86:/usr/lib/bash/ptest# vi run-ptest
root at qemux86:/usr/lib/bash/ptest#
-- CUT --
So, set srcdir to current directory, where tests binaries exist.
[YOCTO #8145]
Signed-off-by: Ajay M <ajay.gju at gmail.com>
---
meta/recipes-extended/bash/bash/run-ptest | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-extended/bash/bash/run-ptest b/meta/recipes-extended/bash/bash/run-ptest
index 8dd3b99..e3f8133 100644
--- a/meta/recipes-extended/bash/bash/run-ptest
+++ b/meta/recipes-extended/bash/bash/run-ptest
@@ -1,2 +1,2 @@
#!/bin/sh
-make -k THIS_SH=/bin/bash BUILD_DIR=. runtest
+make -k THIS_SH=/bin/bash BUILD_DIR=. srcdir=. runtest
--
1.9.1
More information about the Openembedded-core
mailing list