/[escript]/trunk/bruce/test/python/SConscript
ViewVC logotype

Diff of /trunk/bruce/test/python/SConscript

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 704 by gross, Thu Apr 6 00:13:40 2006 UTC revision 705 by gross, Fri Apr 7 17:57:37 2006 UTC
# Line 32  test_pyc = local_env.PyCompile(testfiles Line 32  test_pyc = local_env.PyCompile(testfiles
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('BRUCE_TEST_DATA_ROOT',str(env.Dir('#/bruce/test/python')))
41    env.Alias('build_py_tests',test_pyc)
42  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])
43  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 ])
44    
45  # get all the python files in the release tar file  # get all the python files in the release tar file
46  release_pyfiles = [ env.File("SConscript"), ]  release_pyfiles = [ env.File("SConscript"), ]
47  release_testfiles = [ env.File(x) for x in testfiles + testruns ] + [ env.Dir(x) for x in testdata_dir ]  release_testfiles = [ env.File(x) for x in testfiles + testruns ] + [ local_env.Dir(x) for x in testdata_dir ]
48  env.Zip(src_zipfile, release_pyfiles)  env.Zip(src_zipfile, release_pyfiles)
49  env.Tar(src_tarfile, release_pyfiles)  env.Tar(src_tarfile, release_pyfiles)
50  env.Zip(test_zipfile, release_testfiles)  env.Zip(test_zipfile, release_testfiles)

Legend:
Removed from v.704  
changed lines
  Added in v.705

  ViewVC Help
Powered by ViewVC 1.1.26