Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
# Execute the test suite
fun run do
# Execute the test suite
fun run do
show_status
if not toolcontext.test_dir.file_exists then
toolcontext.test_dir.mkdir
show_status
if not toolcontext.test_dir.file_exists then
toolcontext.test_dir.mkdir
+ # Set environment variables for test suite execution
+ fun set_env do
+ var loc = mmodule.location.file
+ if loc == null then return
+ toolcontext.set_testing_path(loc.filename)
+ end
+
# Error occured during test-suite compilation.
var failure: nullable String = null
end
# Error occured during test-suite compilation.
var failure: nullable String = null
end