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

Diff of /trunk/finley/test/SConscript

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

revision 1235 by phornby, Mon Aug 13 00:25:29 2007 UTC revision 1312 by ksteube, Mon Sep 24 06:18:44 2007 UTC
# Line 12  filenames = [ x for x in os.listdir(src_ Line 12  filenames = [ x for x in os.listdir(src_
12    
13  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']]
14    
15  local_env.Append(LIBS= [python_lib, boost_lib, 'finley', 'escript', 'paso', 'esysUtils', 'CppUnitTest'] + scsl_libs + mkl_libs + umf_libs + sys_libs)  local_env.Append(LIBS=[python_lib, boost_lib, 'finley', 'escript', 'paso', 'esysUtils', 'CppUnitTest'] + \
16              scsl_libs + mkl_libs + umf_libs + sys_libs + mpi_libs)
17    
18  # compile test  # compile test
19  program = local_env.Program(program_name, sources)  program = local_env.Program(program_name, sources)
# Line 26  Alias("run_tests", test_targets) Line 27  Alias("run_tests", test_targets)
27  release_srcfiles = [ env.File("SConscript"), ]  release_srcfiles = [ env.File("SConscript"), ]
28  release_testfiles = [ env.File(x) for x in  filenames ]  release_testfiles = [ env.File(x) for x in  filenames ]
29  env.Zip(src_zipfile, release_srcfiles)  env.Zip(src_zipfile, release_srcfiles)
30    env.Tar(src_tarfile, release_srcfiles)
31  env.Zip(test_zipfile, release_testfiles)  env.Zip(test_zipfile, release_testfiles)
32  try:  env.Tar(test_tarfile, release_testfiles)
33    env.Tar(src_tarfile, release_srcfiles)  
   env.Tar(test_tarfile, release_testfiles)  
 except AttributeError:  
   pass  
34    
35    
36  local_env.SConscript(dirs = ['#/finley/test/python'], build_dir='python', duplicate=0)  local_env.SConscript(dirs = ['#/finley/test/python'], build_dir='python', duplicate=0)

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

  ViewVC Help
Powered by ViewVC 1.1.26