mirror of
https://git.yoctoproject.org/poky
synced 2026-02-13 12:13:02 +01:00
Lua is a hard dependency in rpm 4.17. (From OE-Core rev: b06a2ffb5ded807dbb30078d10740ec294732cad) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 lines
286 B
Bash
20 lines
286 B
Bash
#!/bin/sh
|
|
|
|
cd test
|
|
lua -e"_U=true" all.lua > lua-test.tmp
|
|
|
|
echo "--- test output ---"
|
|
cat lua-test.tmp
|
|
echo ""
|
|
echo ""
|
|
echo "--- ptest result ---"
|
|
|
|
grep "final OK \!\!\!" lua-test.tmp > /dev/null
|
|
if [ $? -eq 0 ]; then
|
|
echo "PASS: lua"
|
|
else
|
|
echo "FAIL: lua"
|
|
fi
|
|
|
|
rm -f lua-test.tmp
|