32 |
# |
# |
33 |
program = local_env.RunPyUnitTest(alltestruns) |
program = local_env.RunPyUnitTest(alltestruns) |
34 |
|
|
|
Depends(pyinstall, test_pyc) |
|
35 |
Depends(program, pyinstall) |
Depends(program, pyinstall) |
36 |
Depends(program, dep_lib) |
Depends(program, dep_lib) |
37 |
|
|
38 |
#Add Unit Test to target alias |
#Add Unit Test to target alias |
39 |
|
local_env.PrependENVPath('PYTHONPATH',str(env.Dir('#/build/$PLATFORM/escript/test/python'))) |
40 |
|
local_env.PrependENVPath('MODELLIB_TEST_DATA_ROOT',str(env.Dir('#/modellib/test/python'))) |
41 |
env.Alias('local_py_tests',[os.path.splitext(x)[0]+'.passed' for x in alltestruns]) |
env.Alias('local_py_tests',[os.path.splitext(x)[0]+'.passed' for x in alltestruns]) |
42 |
env.Alias('py_tests', [os.path.splitext(x)[0]+'.passed' for x in testruns ]) |
env.Alias('py_tests', [os.path.splitext(x)[0]+'.passed' for x in testruns ]) |
43 |
|
|