X-Git-Url: http://nitlanguage.org diff --git a/src/testing/testing_suite.nit b/src/testing/testing_suite.nit index ad0b20a..7ab177c 100644 --- a/src/testing/testing_suite.nit +++ b/src/testing/testing_suite.nit @@ -185,17 +185,17 @@ class TestSuite # Compile all `test_cases` cases in one file. fun compile do - # find nitg + # find nitc var nit_dir = toolcontext.nit_dir - var nitg = nit_dir/"bin/nitg" - if not nitg.file_exists then - toolcontext.error(null, "Cannot find nitg. Set envvar NIT_DIR.") + var nitc = nit_dir/"bin/nitc" + if not nitc.file_exists then + toolcontext.error(null, "Error: cannot find nitc. Set envvar NIT_DIR.") toolcontext.check_errors end # compile test suite var file = test_file var include_dir = mmodule.location.file.filename.dirname - var cmd = "{nitg} --no-color '{file}.nit' -I {include_dir} -o '{file}.bin' > '{file}.out' 2>&1