]> code.ossystems Code Review - openembedded-core.git/commit
bash: append srcdir to run-ptest script
authorAjay M <ajay.gju@gmail.com>
Wed, 12 Aug 2015 07:05:37 +0000 (12:35 +0530)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 16 Aug 2015 08:23:52 +0000 (09:23 +0100)
commit00d94314679eb4345b5012389aa6252abe871a76
tree46bb23ff4857d0898e604814af164e5db9f02d46
parentc6166b7ff7ebcab424af975b1e5378813c684560
bash: append srcdir to run-ptest script

If srcdir is not set, we get below error while running ptest for bash
on qemu target,

-- snip --
root@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@qemux86:/usr/lib/bash/ptest# vi run-ptest
root@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@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/bash/bash/run-ptest