diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-09-08 20:01:02 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-11 18:41:37 +0100 |
commit | 5196cfbbf8795e16b5bc606a9e348fcc6bf3cc83 (patch) | |
tree | 95b3a4f0f4308ff5ece313b5f638c15e9f6562b9 /meta/recipes-devtools/lua/lua/run-ptest | |
parent | 801a17bfbe6b2296c2bbf303d864b091602efbe3 (diff) | |
download | poky-5196cfbbf8795e16b5bc606a9e348fcc6bf3cc83.tar.gz |
lua: add a recipe from meta-oe
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>
Diffstat (limited to 'meta/recipes-devtools/lua/lua/run-ptest')
-rw-r--r-- | meta/recipes-devtools/lua/lua/run-ptest | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-devtools/lua/lua/run-ptest b/meta/recipes-devtools/lua/lua/run-ptest new file mode 100644 index 0000000000..8e085e1af9 --- /dev/null +++ b/meta/recipes-devtools/lua/lua/run-ptest | |||
@@ -0,0 +1,19 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | cd test | ||
4 | lua -e"_U=true" all.lua > lua-test.tmp | ||
5 | |||
6 | echo "--- test output ---" | ||
7 | cat lua-test.tmp | ||
8 | echo "" | ||
9 | echo "" | ||
10 | echo "--- ptest result ---" | ||
11 | |||
12 | grep "final OK \!\!\!" lua-test.tmp > /dev/null | ||
13 | if [ $? -eq 0 ]; then | ||
14 | echo "PASS: lua" | ||
15 | else | ||
16 | echo "FAIL: lua" | ||
17 | fi | ||
18 | |||
19 | rm -f lua-test.tmp | ||