/[ascend]/trunk/base/generic/test/SConscript
ViewVC logotype

Diff of /trunk/base/generic/test/SConscript

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

revision 591 by johnpye, Fri Apr 7 08:05:05 2006 UTC revision 592 by johnpye, Fri May 12 09:50:57 2006 UTC
# Line 1  Line 1 
1  Import('env')  Import('env')
2    
3  testsrcs = ['#test/'+i for i in Split("""  testsrcs = ['#test/'+i for i in Split("""
4    assertimpl.c    assertimpl.c
# Line 10  basesrcs = ['test_ascend_base.c'] Line 10  basesrcs = ['test_ascend_base.c']
10    
11  srcs = []  srcs = []
12  for dir in ['general','utilities','solver']:  for dir in ['general','utilities','solver']:
13      srcs += ['#base/generic/'+dir+'/test/'+i for i in env['TESTSRCS_'+dir.upper()]]      srcs += env['TESTSRCS_'+dir.upper()]
14    
15  cpppath = ['#test','#base/generic']  cpppath = ['#test','#base/generic']
16  if env.has_key('CUNIT_CPPPATH'):  if env.has_key('CUNIT_CPPPATH'):
17      cpppath.append(env['CUNIT_CPPPATH'])      cpppath.append(env['CUNIT_CPPPATH'])
18    
19  libpath = ['#base/generic/utilities', '#base/generic/general', '#base/generic/solver', '#base/generic/compiler', '#base/generic/packages', '#test']  libpath = ['#', '#test']
20  if env.has_key('CUNIT_LIBPATH'):  if env.has_key('CUNIT_LIBPATH'):
21      libpath.append(env['CUNIT_LIBPATH'])      libpath.append(env['CUNIT_LIBPATH'])
22    
23  env.Program('test',srcs+basesrcs  env.Program('test',srcs+basesrcs
24      , CPPPATH = cpppath      , CPPPATH = cpppath
25      , LIBS = ['ascutilities','ascgeneral','ascsolver','asccompiler','ascpackages','asctest','m','cunit','dl']      , LIBS = ['ascend','asctest','m','cunit','dl']
26      , LIBPATH = libpath      , LIBPATH = libpath
27  )  )

Legend:
Removed from v.591  
changed lines
  Added in v.592

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22