/[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 649 by robwdcock, Fri Mar 24 06:07:07 2006 UTC revision 666 by robwdcock, Fri Mar 24 11:29:40 2006 UTC
# Line 4  program_name = 'finley_UnitTest' Line 4  program_name = 'finley_UnitTest'
4    
5  local_env=env.Copy()  local_env=env.Copy()
6    
 local_env.Append(LIBS=[ python_lib, boost_lib, 'finleycpp', 'escriptcpp', 'paso', 'esysUtils', 'CppUnitTest', scsl_libs, mkl_libs, umf_libs, sys_libs])  
7    
8  src_dir = local_env.Dir('.').srcnode().abspath  src_dir = local_env.Dir('.').srcnode().abspath
9    
# Line 12  import os Line 11  import os
11  filenames = os.listdir(src_dir)  filenames = os.listdir(src_dir)
12  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']]
13    
14    local_env.Append(LIBS=[ python_lib, boost_lib, 'paso', 'esysUtils', 'CppUnitTest', scsl_libs, mkl_libs, umf_libs, sys_libs])
15    
16    local_env.sharedLinkHack(['finleycpp', 'escriptcpp',], libinstall, sources)
17    
18    
19  program = local_env.Program(program_name, sources)  program = local_env.Program(program_name, sources)
20    
21  Depends(program, dep_lib)  Depends(program, dep_lib)
# Line 29  local_env.RunUnitTest(program_name) Line 33  local_env.RunUnitTest(program_name)
33  test_targets = os.path.splitext(program_name)[0]+'.passed'  test_targets = os.path.splitext(program_name)[0]+'.passed'
34  Alias("run_tests", test_targets)  Alias("run_tests", test_targets)
35    
36    local_env.SConscript(dirs = ['#/finley/test/python'], build_dir='python', duplicate=0)

Legend:
Removed from v.649  
changed lines
  Added in v.666

  ViewVC Help
Powered by ViewVC 1.1.26