107 |
runUnitTest_builder = Builder(action = scons_extensions.runUnitTest, suffix = '.passed', single_source=True) |
runUnitTest_builder = Builder(action = scons_extensions.runUnitTest, suffix = '.passed', single_source=True) |
108 |
env.Append(BUILDERS = {'RunUnitTest' : runUnitTest_builder}); |
env.Append(BUILDERS = {'RunUnitTest' : runUnitTest_builder}); |
109 |
|
|
110 |
# FIXME: Copy this builder from the win32 branch |
runPyUnitTest_builder = Builder(action = scons_extensions.runPyUnitTest, suffix = '.passed', src_suffic='.py', single_source=True) |
111 |
#runPyUnitTest_builder = Builder(action = scons_extensions.runPyUnitTest, suffix = '.passed', src_suffic='.py', single_source=True) |
env.Append(BUILDERS = {'RunPyUnitTest' : runPyUnitTest_builder}); |
|
#env.Append(BUILDERS = {'RunPyUnitTest' : runPyUnitTest_builder}); |
|
112 |
|
|
113 |
# Convert the options which are held in environment variable into python variables for ease of handling and configure compilation options |
# Convert the options which are held in environment variable into python variables for ease of handling and configure compilation options |
114 |
try: |
try: |
285 |
env.Default(libinstall) |
env.Default(libinstall) |
286 |
env.Default(incinstall) |
env.Default(incinstall) |
287 |
env.Default(pyinstall) |
env.Default(pyinstall) |
288 |
env.Alias('py_test') |
env.Alias('build_tests') |
289 |
|
env.Alias('run_tests') |
290 |
|
env.Alias('py_tests') |
291 |
|
|
292 |
# Allow sconscripts to see the env |
# Allow sconscripts to see the env |
293 |
Export(["env", "incinstall", "libinstall", "pyinstall", "dodebug", "mkl_libs", "scsl_libs", "umf_libs", |
Export(["env", "incinstall", "libinstall", "pyinstall", "dodebug", "mkl_libs", "scsl_libs", "umf_libs", |