mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-10-30 01:10:13 +00:00
lua: Added ptest for lua
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>
This commit is contained in:
1 parent
d3be014d9c
commit
142d6fb402
2 files changed
+34
-5
No files matched your search
@@ -0,0 +1,19 @@
|
||||
#!/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
|
||||
Reference in new issue
Block a user