lib/mnit_linux: globally protect from NIT_TESTING
authorJean Privat <jean@pryen.org>
Thu, 28 Aug 2014 03:01:08 +0000 (23:01 -0400)
committerJean Privat <jean@pryen.org>
Fri, 29 Aug 2014 03:31:04 +0000 (23:31 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

lib/mnit_linux/linux_app.nit

index b071182..e1d2e73 100644 (file)
@@ -30,6 +30,7 @@ redef class App
 
        redef fun setup
        do
+               if "NIT_TESTING".environ == "true" then exit 0
                display = new Opengles1Display
 
                super