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

Diff of /trunk/modellib/test/python/SConscript

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

revision 706 by gross, Sat Apr 8 16:13:02 2006 UTC revision 707 by gross, Wed Apr 12 23:58:02 2006 UTC
# Line 47  env.Alias('py_tests', [os.path.splitext( Line 47  env.Alias('py_tests', [os.path.splitext(
47    
48  # get all the python files in the release tar file  # get all the python files in the release tar file
49  release_pyfiles = [ env.File("SConscript"), ]  release_pyfiles = [ env.File("SConscript"), ]
50  release_testfiles = [ env.File(x) for x in testfiles + testruns ] + [ env.Dir(x) for x in testdata_dir ]  release_datafiles=[]  # FIXIT: is there a better way?
51    for d in testdata_dir:
52       release_datafiles+=[ d+"/"+x for x in os.listdir(local_env.Dir(d).srcnode().abspath) if not x.startswith('.')]
53    release_testfiles = [ env.File(x) for x in testfiles + testruns ] + [ env.File(x) for x in release_datafiles ]
54  env.Zip(src_zipfile, release_pyfiles)  env.Zip(src_zipfile, release_pyfiles)
55  env.Tar(src_tarfile, release_pyfiles)  env.Tar(src_tarfile, release_pyfiles)
56  env.Zip(test_zipfile, release_testfiles)  env.Zip(test_zipfile, release_testfiles)

Legend:
Removed from v.706  
changed lines
  Added in v.707

  ViewVC Help
Powered by ViewVC 1.1.26