/[escript]/branches/scons-dev/bruce/test/SConscript
ViewVC logotype

Diff of /branches/scons-dev/bruce/test/SConscript

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

revision 1640 by ksteube, Tue Jul 15 00:15:12 2008 UTC revision 1641 by ksteube, Tue Jul 15 00:23:45 2008 UTC
# Line 20  filenames = [ x for x in os.listdir(src_ Line 20  filenames = [ x for x in os.listdir(src_
20    
21  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']]
22    
23  local_env.Append(LIBS=[ python_lib, boost_lib, 'bruce', 'escript', 'esysUtils', 'CppUnitTest', sys_libs])  local_env.Append(LIBS=[ 'bruce', 'escript', 'esysUtils', 'CppUnitTest', sys_libs])
24    
25  # compile test  # compile test
26  program = local_env.Program(program_name, sources)  program = local_env.Program(program_name, sources)
# Line 31  local_env.RunUnitTest(program_name) Line 31  local_env.RunUnitTest(program_name)
31  test_targets = os.path.splitext(program_name)[0]+'.passed'  test_targets = os.path.splitext(program_name)[0]+'.passed'
32  Alias("run_tests", test_targets)  Alias("run_tests", test_targets)
33    
 release_srcfiles = [ env.File("SConscript"), ]  
 release_testfiles = [ env.File(x) for x in  filenames ]  
 env.Zip(src_zipfile, release_srcfiles)  
 env.Tar(src_tarfile, release_srcfiles)  
 env.Zip(test_zipfile, release_testfiles)  
 env.Tar(test_tarfile, release_testfiles)  
   
34  local_env.SConscript(dirs = ['#/bruce/test/python'], build_dir='python', duplicate=0)  local_env.SConscript(dirs = ['#/bruce/test/python'], build_dir='python', duplicate=0)

Legend:
Removed from v.1640  
changed lines
  Added in v.1641

  ViewVC Help
Powered by ViewVC 1.1.26