Method Tools.Testsuite.Test()->compile()


Method compile

program compile(string src)

Description

Compile the source code src in the context of the file this test belongs. Note that no changes in error mode is done and compilation errors are not caught.


Method compile

variant program compile()

Description

Set the error mode according to inhibi_errors, applies any source code plugins by calling prepare_source and finally compiles the result. Any resulting compilation errors will be stored in compilation_error. The error mode will be set to 0 after compiltion is done.