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

Contents of /trunk/test/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2347 - (show annotations) (download)
Wed Jan 5 09:37:24 2011 UTC (13 years, 5 months ago) by jpye
File size: 666 byte(s)
Fixed failing ascDynaLoad test on Mac OS X.
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 testprog = test_env.Program('test',srcs)
25
26 test_env.Depends(testprog,"#/ascend/utilities/test")

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