|
__init__(self,
env,
custom_tests={ } ,
conf_dir=' $CONFIGUREDIR ' ,
log_file=' $CONFIGURELOG ' ,
config_h=None,
_depth=0)
Constructor. |
source code
|
|
|
Finish(self)
Call this method after finished with your tests:
env = sconf.Finish() |
source code
|
|
|
Define(self,
name,
value=None,
comment=None)
Define a pre processor symbol name, with the optional given value in the
current config header. |
source code
|
|
|
|
|
|
|
TryBuild(self,
builder,
text=None,
extension='
' )
Low level TryBuild implementation. |
source code
|
|
|
TryAction(self,
action,
text=None,
extension='
' )
Tries to execute the given action with optional source file
contents <text> and optional source file extension <extension>,
Returns the status (0 : failed, 1 : ok) and the contents of the
output file. |
source code
|
|
|
TryCompile(self,
text,
extension)
Compiles the program given in text to an env.Object, using extension
as file extension (e.g. |
source code
|
|
|
TryLink(self,
text,
extension)
Compiles the program given in text to an executable env.Program,
using extension as file extension (e.g. |
source code
|
|
|
TryRun(self,
text,
extension)
Compiles and runs the program given in text, using extension
as file extension (e.g. |
source code
|
|
|
AddTest(self,
test_name,
test_instance)
Adds test_class to this SConf instance. |
source code
|
|
|
AddTests(self,
tests)
Adds all the tests given in the tests dictionary to this SConf
instance |
source code
|
|
|
|
|
|
|
|