/[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 706 by gross, Sat Apr 8 16:13:02 2006 UTC revision 707 by gross, Wed Apr 12 23:58:02 2006 UTC
# Line 1  Line 1 
1    #          Copyright 2006 by ACcESS MNRF
2    #
3    #              http://www.access.edu.au
4    #       Primary Business: Queensland, Australia
5    #  Licensed under the Open Software License version 3.0
6    #     http://www.opensource.org/licenses/osl-3.0.php
7    #
8    #
9  Import('*')  Import('*')
10  local_env=env.Copy()  local_env=env.Copy()
11  src_dir = local_env.Dir('.').srcnode().abspath  src_dir = local_env.Dir('.').srcnode().abspath
# Line 49  env.Alias('py_tests', [os.path.splitext( Line 57  env.Alias('py_tests', [os.path.splitext(
57    
58  # get all the python files in the release tar file  # get all the python files in the release tar file
59  release_pyfiles = [ env.File("SConscript"), ]  release_pyfiles = [ env.File("SConscript"), ]
60  release_testfiles = [ env.File(x) for x in testfiles + testruns ] + [ env.Dir(x,'#/bruce/test/python/') for x in testdata_dir ]  release_datafiles=[]  # FIXIT: is there a better way?
61    for d in testdata_dir:
62       release_datafiles+=[ d+"/"+x for x in os.listdir(local_env.Dir(d).srcnode().abspath) if not x.startswith('.')]
63    release_testfiles = [ env.File(x) for x in testfiles + testruns ] + [ env.File(x) for x in release_datafiles ]
64  env.Zip(src_zipfile, release_pyfiles)  env.Zip(src_zipfile, release_pyfiles)
65  env.Tar(src_tarfile, release_pyfiles)  env.Tar(src_tarfile, release_pyfiles)
66  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