nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nit: Added `CONTRIBUTING.md` file to repository
[nit.git]
/
src
/
nitunit.nit
diff --git
a/src/nitunit.nit
b/src/nitunit.nit
index
0d89dc6
..
878d3f2
100644
(file)
--- a/
src/nitunit.nit
+++ b/
src/nitunit.nit
@@
-64,6
+64,8
@@
if toolcontext.opt_gen_unit.value then
end
"NIT_TESTING".setenv("true")
+"NIT_TESTING_ID".setenv(pid.to_s)
+"SRAND".setenv("0")
var test_dir = toolcontext.test_dir
test_dir.mkdir