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

Contents of /trunk/test/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2017 - (show annotations) (download)
Wed Apr 29 02:39:32 2009 UTC (13 years, 3 months ago) by jpye
File size: 633 byte(s)
Fixed building of test suite after code reorg.
Test suite may still be broken though: seems to segfault and give lots of errors.
1 #!/usr/bin/python invoke_using_scons
2 Import('test_env')
3
4 # local sources
5 srcs = ['test.c','test_ascend_base.c','redirectStdStreams.c','printutil.c','assertimpl.c']
6
7 # test cases from the different tested modules
8 for dir in ['general','utilities','solver','linear','compiler']:
9 srcs += test_env['TESTSRCS_'+dir.upper()]
10
11
12 test_env.Append(
13 LIBS = ['ascend','cunit']
14 , LIBPATH = ['#']
15 , CPPDEFINES = ['-DASC_SHARED']
16 )
17
18 if test_env.has_key('CUNIT_CPPPATH'):
19 test_env.Append(CPPATH=test_env['CUNIT_CPPPATH'])
20
21 if test_env.has_key('CUNIT_LIBPATH'):
22 test_env.Append(LIBPATH=test_env['CUNIT_LIBPATH'])
23
24 test_env.Program('test',srcs)
25

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