nitc: fix calling extern constructors from extern code in separate compiler
[nit.git] / lib / mnit_linux / linux_app.nit
index b071182..440187a 100644 (file)
@@ -19,6 +19,7 @@ module linux_app
 import mnit
 import sdl
 import linux_opengles1
+import linux
 
 in "C" `{
        #include <EGL/egl.h>
@@ -30,6 +31,7 @@ redef class App
 
        redef fun setup
        do
+               if "NIT_TESTING".environ == "true" then exit 0
                display = new Opengles1Display
 
                super