end
f.close
- var cmd = "../bin/nitg --no-color '{file}' -I . >'{file}.out1' 2>&1 </dev/null -o '{file}.bin'"
+ var cmd = "../bin/nitg --ignore-visibility --no-color '{file}' -I . >'{file}.out1' 2>&1 </dev/null -o '{file}.bin'"
var res = sys.system(cmd)
var res2 = 0
if res == 0 then
var o = mmodule
var g = o.mgroup
if g != null then
- o = get_mmodule_by_name(nmodule, mmodule, g.mproject.name).as(not null)
+ o = get_mmodule_by_name(nmodule, g, g.mproject.name).as(not null)
end
ts.attr("package", mmodule.full_name)
toolcontext.option_context.add_option(toolcontext.opt_full, toolcontext.opt_output, toolcontext.opt_dir)
toolcontext.tooldescription = "Usage: nitunit [OPTION]... <file.nit>...\nExecutes the unit tests from Nit source files."
-toolcontext.process_options
+toolcontext.process_options(args)
var args = toolcontext.option_context.rest
var model = new Model