mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-17 23:06:28 +00:00
Signed-off-by: Andreas Sundstr Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
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
|