Home | Trees | Index | Help |
---|
|
object --+ | extension.Extension --+ | runnable.Runnable --+ | test.Test --+ | CompilerBase --+ | compiler_test.CompilerTest --+ | CompilationTest
|
|||
Inherited from Inherited from Inherited from |
|
|||
Run(self,
context,
result)
Run the test. |
|||
_GetCompiler(self,
context)
The name of the compiler executable is taken from the context variable 'CompilationTest.compiler_path'. |
|||
_GetCompilationSteps(self,
context)
Return the compilation steps for this test. |
|||
_IsExecutionRequired(self)
Returns true if the generated executable should be run. |
|||
_GetTarget(self,
context)
Returns a target for the executable to be run on. |
|||
_CheckOutput(self,
context,
result,
prefix,
output,
diagnostics)
Check that the 'output' contains appropriate diagnostics. |
|||
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
options | |||
ldflags | |||
source_files | |||
executable | |||
execute | |||
_argument_dictionary | |||
_argument_list | |||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
Run the test. 'context' -- A 'Context' giving run-time parameters to the test. 'result' -- A 'Result' object. The outcome will be 'Result.PASS' when this method is called. The 'result' may be modified by this method to indicate outcomes other than 'Result.PASS' or to add annotations.
|
|
Return the compilation steps for this test. 'context' -- The 'Context' in which this test is being executed. returns -- A sequence of 'CompilationStep' objects.
|
Returns true if the generated executable should be run. returns -- True if the generated executable should be run.
|
Returns a target for the executable to be run on. 'context' -- The Context in which this test is being executed. returns -- A Host to run the executable on.
|
Check that the 'output' contains appropriate diagnostics. 'context' -- The 'Context' for the test that is being executed. 'result' -- The 'Result' of the test. 'prefix' -- A string giving the prefix for any annotations to be added to the 'result'. 'output' -- A string giving the output of the compiler. 'diagnostics' -- The diagnostics that are expected for the compilation. returns -- True if there were no errors so severe as to prevent execution of the test.
|
|
options
|
ldflags
|
source_files
|
executable
|
execute
|
_argument_dictionary
|
_argument_list
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 3.0alpha2 on Fri Sep 28 00:57:31 2007 | http://epydoc.sf.net |