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

Contents of /trunk/test/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2241 - (show annotations) (download)
Sun Aug 1 03:17:50 2010 UTC (13 years, 10 months ago) by jpye
File size: 602 byte(s)
Adding test case for defaultall.c 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 test_env['TESTDIRS']:
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(CPPPATH=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