tests: test_neo use NIT_TESTING_ID
authorAlexandre Terrasa <alexandre@moz-code.org>
Tue, 6 Dec 2016 18:33:27 +0000 (13:33 -0500)
committerAlexandre Terrasa <alexandre@moz-code.org>
Tue, 6 Dec 2016 18:33:27 +0000 (13:33 -0500)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

src/test_neo.nit

index 854eb3a..1f37ffb 100644 (file)
@@ -19,7 +19,8 @@ import neo
 import model
 import frontend
 
-var test_name = "test_{get_time.to_s}"
+var test_id = "NIT_TESTING_ID".environ
+var test_name = "test_{test_id}"
 
 # init tool
 var toolcontext = new ToolContext