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

Diff of /trunk/finley/test/python/SConscript

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

revision 700 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('FINLEY_TEST_DATA_ROOT',str(env.Dir('#/finley/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    
44  # get all the python files in the release tar file  # get all the python files in the release tar file
45  release_pyfiles = [ env.File("SConscript"), ]  release_pyfiles = [ env.File("SConscript"), ]
46  print env.Dir(testdata_dir[0],'.')  print env.Dir(testdata_dir[0])
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 ] + [ 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)

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

  ViewVC Help
Powered by ViewVC 1.1.26