nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nitunit: accept an absolute path for `--dir`.
[nit.git]
/
src
/
testing
/
testing_doc.nit
diff --git
a/src/testing/testing_doc.nit
b/src/testing/testing_doc.nit
index
9f31805
..
f543a2b
100644
(file)
--- a/
src/testing/testing_doc.nit
+++ b/
src/testing/testing_doc.nit
@@
-136,7
+136,7
@@
class NitUnitExecutor
var res = sys.system(cmd)
var res2 = 0
if res == 0 then
- res2 = sys.system("./{file}.bin >>'{file}.out1' 2>&1 </dev/null")
+ res2 = sys.system("{file.to_program_name}.bin >>'{file}.out1' 2>&1 </dev/null")
end
var msg