[Buildroot] [PATCH 3/4] support/testing: add lua-sdl2 test
François Perrad
francois.perrad at gadz.org
Mon Oct 7 04:06:18 UTC 2019
Le lun. 7 oct. 2019 à 02:07, Ricardo Martincoski <
ricardo.martincoski at gmail.com> a écrit :
> Hello,
>
> On Sun, Sep 29, 2019 at 09:55 AM, Francois Perrad wrote:
>
> > Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
> > ---
> > .gitlab-ci.yml | 2 +
> > .../testing/tests/package/test_lua_sdl2.py | 41 +++++++++++++++++++
> > 2 files changed, 43 insertions(+)
> > create mode 100644 support/testing/tests/package/test_lua_sdl2.py
> >
> > diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> > index a1e309b50..ecbcbcb78 100644
> > --- a/.gitlab-ci.yml
> > +++ b/.gitlab-ci.yml
> > @@ -385,6 +385,8 @@ tests.package.test_lua_gd.TestLuaLuaGD: { extends:
> .runtime_test }
> > tests.package.test_lua_gd.TestLuajitLuaGD: { extends: .runtime_test }
> > tests.package.test_lua_http.TestLuaHttp: { extends: .runtime_test }
> > tests.package.test_lua_http.TestLuajitHttp: { extends: .runtime_test }
> > +tests.package.test_lua_sdl2.TestLuaLuaSDL2: { extends: .runtime_test }
> > +tests.package.test_lua_sdl2.TestLuajitLuaSDL2: { extends: .runtime_test
> }
>
> These 2 test cases failed for me:
> https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/312517926
> https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/312517929
>
>
Ricardo,
you need this fix https://patchwork.ozlabs.org/patch/1172611/
François
> with this output:
> # lua -l SDL -e 'a=1'
> lua: module 'SDL' not found:
> no field package.preload['SDL']
> no file './SDL.lua'
> no file '/usr/share/luajit-2.0.5/SDL.lua'
> no file '/usr/local/share/lua/5.1/SDL.lua'
> no file '/usr/local/share/lua/5.1/SDL/init.lua'
> no file '/usr/share/lua/5.1/SDL.lua'
> no file '/usr/share/lua/5.1/SDL/init.lua'
> no file './SDL.so'
> no file '/usr/local/lib/lua/5.1/SDL.so'
> no file '/usr/lib/lua/5.1/SDL.so'
> no file '/usr/local/lib/lua/5.1/loadall.so'
> stack traceback:
> [C]: at 0xb6f51bb0
> [C]: at 0x00011af8
> # echo $?
> 1
> #
>
>
> Regards,
> Ricardo_______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20191007/58db83b4/attachment-0002.html>
More information about the buildroot
mailing list