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

Diff of /trunk/escript/test/SConscript

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

revision 1311 by phornby, Mon Aug 13 22:09:00 2007 UTC revision 1312 by ksteube, Mon Sep 24 06:18:44 2007 UTC
# Line 13  filenames = [ x for x in os.listdir(src_ Line 13  filenames = [ x for x in os.listdir(src_
13    
14  sources = [x for x in filenames if os.path.splitext(x)[1] in ['.cpp', '.c']]  sources = [x for x in filenames if os.path.splitext(x)[1] in ['.cpp', '.c']]
15    
16  local_env.Append(LIBS= [python_lib, boost_lib, 'escript', 'esysUtils', 'CppUnitTest'] + sys_libs )  local_env.Append(LIBS= [python_lib, boost_lib, 'escript', 'esysUtils', 'CppUnitTest'] + sys_libs + mpi_libs)
17        
18  program = local_env.Program(program_name, sources)  program = local_env.Program(program_name, sources)
19    
20  #Add Unit Test to target alias  #Add Unit Test to target alias
# Line 29  Alias("run_tests", test_targets) Line 29  Alias("run_tests", test_targets)
29  release_srcfiles = [ env.File("SConscript"), ]  release_srcfiles = [ env.File("SConscript"), ]
30  release_testfiles = [ env.File(x) for x in  filenames ]  release_testfiles = [ env.File(x) for x in  filenames ]
31  env.Zip(src_zipfile, release_srcfiles)  env.Zip(src_zipfile, release_srcfiles)
32    env.Tar(src_tarfile, release_srcfiles)
33  env.Zip(test_zipfile, release_testfiles)  env.Zip(test_zipfile, release_testfiles)
34  try:  env.Tar(test_tarfile, release_testfiles)
   env.Tar(src_tarfile, release_srcfiles)  
   env.Tar(test_tarfile, release_testfiles)  
 except AttributeError:  
   pass  
35    
36  local_env.SConscript(dirs = ['#/escript/test/python'], build_dir='python', duplicate=0)  local_env.SConscript(dirs = ['#/escript/test/python'], build_dir='python', duplicate=0)

Legend:
Removed from v.1311  
changed lines
  Added in v.1312

  ViewVC Help
Powered by ViewVC 1.1.26