nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e68bcfc
)
nitunit: prevent generated files to be part of the package
author
Jean Privat
<jean@pryen.org>
Thu, 19 May 2016 02:24:14 +0000
(22:24 -0400)
committer
Jean Privat
<jean@pryen.org>
Thu, 19 May 2016 02:24:14 +0000
(22:24 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
src/nitunit.nit
patch
|
blob
|
history
diff --git
a/src/nitunit.nit
b/src/nitunit.nit
index
cc9ea85
..
1cffdf5
100644
(file)
--- a/
src/nitunit.nit
+++ b/
src/nitunit.nit
@@
-65,6
+65,10
@@
end
"NIT_TESTING".setenv("true")
+var test_dir = toolcontext.test_dir
+test_dir.mkdir
+"# This file prevents the Nit modules of the directory to be part of the package".write_to_file(test_dir / "packages.ini")
+
var page = new HTMLTag("testsuites")
if toolcontext.opt_full.value then mmodules = model.mmodules