/[escript]/branches/arrayview_from_1695_trunk/esysUtils/test/SConscript
ViewVC logotype

Diff of /branches/arrayview_from_1695_trunk/esysUtils/test/SConscript

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

revision 252 by jgs, Tue Nov 29 05:58:03 2005 UTC revision 306 by jgs, Mon Dec 5 00:48:01 2005 UTC
# Line 48  hostname = os.environ['HOSTNAME'] Line 48  hostname = os.environ['HOSTNAME']
48  options_dir = str(esysroot) + '/scons'  options_dir = str(esysroot) + '/scons'
49  sys.path.append(options_dir)  sys.path.append(options_dir)
50    
51    from default_options import *
52    
53  if hostname=='ess':  if hostname=='ess':
54    from ess_options import *    from ess_options import *
55    
# Line 62  cxx_flags=cxx_flags_debug Line 64  cxx_flags=cxx_flags_debug
64  #  #
65  # print out build configuration for this module  # print out build configuration for this module
66    
 print "####################################################"  
67  print "Build configuration for module: EsysException unit tests"  print "Build configuration for module: EsysException unit tests"
68  print "         dodebug:  1"  print "         dodebug:  1"
69  print "          usegcc: ", usegcc  print "          usegcc: ", usegcc
70  print "             cxx: ", cxx  print "             cxx: ", cxx
71  print "        platform: ", platform  print "        platform: ", platform
72  print "        hostname: ", hostname  print "        hostname: ", hostname
 print "####################################################"  
73    
74  #  #
75  # do the actual build  # do the actual build
# Line 81  CppUnitTest_path = str(esysroot) + '/too Line 81  CppUnitTest_path = str(esysroot) + '/too
81  esysUtils_lib_path = str(esysroot) + '/esysUtils/lib'  esysUtils_lib_path = str(esysroot) + '/esysUtils/lib'
82  CppUnitTest_lib_path = str(esysroot) + '/tools/CppUnitTest/lib'  CppUnitTest_lib_path = str(esysroot) + '/tools/CppUnitTest/lib'
83    
84    esysUtils_lib = str(esysUtils_lib_path) + '/libesysUtils.a'
85    
86    install_dir = str(esysroot) + '/esysUtils/test'
87    
88  cpp_path = [esysexception_test_path,  cpp_path = [esysexception_test_path,
89              esysUtils_path,              esysUtils_path,
90              CppUnitTest_path]              CppUnitTest_path]
# Line 107  esysexception_env.Replace(LIBPATH = lib_ Line 111  esysexception_env.Replace(LIBPATH = lib_
111  esysexception_env.Replace(LIBS = libs)  esysexception_env.Replace(LIBS = libs)
112    
113  esysexception_test_exe = esysexception_env.Program(target, sources)  esysexception_test_exe = esysexception_env.Program(target, sources)
114    
115    Depends(esysexception_test_exe, esysUtils_lib)
116    
117    esysexception_env.Install(install_dir, esysexception_test_exe)

Legend:
Removed from v.252  
changed lines
  Added in v.306

  ViewVC Help
Powered by ViewVC 1.1.26