/[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 450 by johnpye, Fri Mar 31 10:59:36 2006 UTC revision 451 by johnpye, Wed Apr 5 05:14:20 2006 UTC
# Line 1  Line 1 
1  Import('env')  Import('env')
2    
3  env.Program('test','test_ascend_base.c'  testsrcs = ['#test/'+i for i in Split("""
4      assertimpl.c
5      printutil.c
6      redirectStdStreams.c
7    """)]
8    
9    basesrcs = ['test_ascend_base.c']
10    
11    srcs = []
12    for dir in ['general','utilities','solver']:
13        srcs += ['#base/generic/'+dir+'/test/'+i for i in env['TESTSRCS_'+dir.upper()]]
14    
15    env.Program('test',srcs+basesrcs
16      , CPPPATH = [      , CPPPATH = [
17          '#test'          '#test'
18          , '#base/generic'          , '#base/generic'
19          , env['CUNIT_CPPPATH']          , env['CUNIT_CPPPATH']
20        ]        ]
21      , LIBS = [      , LIBS = ['ascutilities','ascgeneral','ascsolver','asccompiler','ascpackages','asctest','m','cunit','dl']
22          'cunit'      , LIBPATH = ['#base/generic/utilities', '#base/generic/general', '#base/generic/solver', '#base/generic/compiler', '#base/generic/packages', '#test', env['CUNIT_LIBPATH']]
         , 'asctestsolver'  
         , 'asctestgeneral'  
         , 'asctestutilities'  
         , 'asctest'  
         , 'ascsolver'  
         , 'ascgeneral'  
         , 'ascutilities'  
       ]  
     , LIBPATH = [  
         env['CUNIT_LIBPATH']  
         , '#base/generic/solver/test'  
         , '#base/generic/utilities/test'  
         , '#base/generic/general/test'  
         , '#base/generic/solver'  
         , '#base/generic/utilities'  
         , '#base/generic/general'  
         , '#test'  
       ]  
23  )  )

Legend:
Removed from v.450  
changed lines
  Added in v.451

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