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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 451 - (show annotations) (download)
Wed Apr 5 05:14:20 2006 UTC (18 years, 2 months ago) by johnpye
File size: 686 byte(s)
Got the test suite to compile with SCons. Seems that there are some
serious problems still though.
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 += ['#base/generic/'+dir+'/test/'+i for i in env['TESTSRCS_'+dir.upper()]]
14
15 env.Program('test',srcs+basesrcs
16 , CPPPATH = [
17 '#test'
18 , '#base/generic'
19 , env['CUNIT_CPPPATH']
20 ]
21 , LIBS = ['ascutilities','ascgeneral','ascsolver','asccompiler','ascpackages','asctest','m','cunit','dl']
22 , LIBPATH = ['#base/generic/utilities', '#base/generic/general', '#base/generic/solver', '#base/generic/compiler', '#base/generic/packages', '#test', env['CUNIT_LIBPATH']]
23 )

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