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

Contents of /trunk/base/generic/test/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 592 - (show annotations) (download)
Fri May 12 09:50:57 2006 UTC (14 years, 8 months ago) by johnpye
File size: 575 byte(s)
Working on adding some more export symbols, for purpose of getting Jerry's test suite to work with SCons build.
1 Import('env')
2
3 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 += env['TESTSRCS_'+dir.upper()]
14
15 cpppath = ['#test','#base/generic']
16 if env.has_key('CUNIT_CPPPATH'):
17 cpppath.append(env['CUNIT_CPPPATH'])
18
19 libpath = ['#', '#test']
20 if env.has_key('CUNIT_LIBPATH'):
21 libpath.append(env['CUNIT_LIBPATH'])
22
23 env.Program('test',srcs+basesrcs
24 , CPPPATH = cpppath
25 , LIBS = ['ascend','asctest','m','cunit','dl']
26 , LIBPATH = libpath
27 )

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