Instead of using `ls...` just enumerate the folder content with an asterisk.
No behavior change should come from this patch.
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>
#!/bin/sh
-for t in `ls ./*-test`; do
+for t in *-test; do
./$t && echo PASS: $t || echo FAIL: $t
done
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
}