app.nit: exit and print an error if not bound to a platform
[nit.git] / lib / gamnit / gamnit.nit
index 41bfb37..0d39f1e 100644 (file)
@@ -78,11 +78,3 @@ redef class App
        # right after this method returns. They should not be preserved.
        fun accept_event(event: InputEvent): Bool do return false
 end
-
-redef class Sys
-       redef fun run
-       do
-               if "NIT_TESTING".environ == "true" then exit 0
-               super
-       end
-end