mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
fmt: make ptest installation and execution more posix compliant
Instead of using `ls...` just enumerate the folder content with an asterisk. No behavior change should come from this patch. (From OE-Core rev: b1870e588958fa6957278a6c253a70fa30485764) Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
78bd8888af
commit
351f7f3b4c
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
for t in `ls ./*-test`; do
|
||||
for t in *-test; do
|
||||
./$t && echo PASS: $t || echo FAIL: $t
|
||||
done
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON"
|
|||
EXTRA_OECMAKE += "${@bb.utils.contains('PTEST_ENABLED', '1', '-DFMT_TEST=ON', '', d)}"
|
||||
|
||||
do_install_ptest(){
|
||||
for t in `ls ${B}/bin/*-test`; do
|
||||
for t in ${B}/bin/*-test; do
|
||||
install $t ${D}${PTEST_PATH}/
|
||||
done
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user