nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0ae84b
)
lib/gamnit: do not execute gamnit clients when testing
author
Alexis Laferrière
<alexis.laf@xymus.net>
Sun, 6 Dec 2015 01:05:17 +0000
(20:05 -0500)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Thu, 10 Dec 2015 20:32:48 +0000
(15:32 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/gamnit/gamnit.nit
patch
|
blob
|
history
diff --git
a/lib/gamnit/gamnit.nit
b/lib/gamnit/gamnit.nit
index
43ec95c
..
079062d
100644
(file)
--- a/
lib/gamnit/gamnit.nit
+++ b/
lib/gamnit/gamnit.nit
@@
-56,6
+56,8
@@
redef class App
redef fun run
do
+ if "NIT_TESTING".environ == "true" then exit 0
+
# TODO manage exit condition
loop frame_full
end