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

Annotation of /trunk/base/generic/test/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 966 - (hide annotations) (download)
Thu Dec 14 14:04:54 2006 UTC (16 years, 11 months ago) by johnpye
File size: 613 byte(s)
Cleaned up code comments in units.h
Fixed a bug with starting timesteps in LSODE (i think)
Added function to output a SampleList to the console (for debugging)
Removed debug output from base/generic/test/SConscript.
Removed 'custom' headers for UnitsM in ascpy.i
Made a sane default ctor for UnitsM
Added some more test cases to the Python unittest suite (still a problem running multiple solver-based tests in a single run)
1 johnpye 592 Import('env')
2 johnpye 451
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 johnpye 592 srcs += env['TESTSRCS_'+dir.upper()]
14 johnpye 451
15 johnpye 459 cpppath = ['#test','#base/generic']
16     if env.has_key('CUNIT_CPPPATH'):
17     cpppath.append(env['CUNIT_CPPPATH'])
18    
19 johnpye 592 libpath = ['#', '#test']
20 johnpye 459 if env.has_key('CUNIT_LIBPATH'):
21     libpath.append(env['CUNIT_LIBPATH'])
22 johnpye 966 #print "CUNIT_LIBPATH ---> ",libpath
23 johnpye 459
24 johnpye 451 env.Program('test',srcs+basesrcs
25 johnpye 592 , CPPPATH = cpppath
26     , LIBS = ['ascend','asctest','m','cunit','dl']
27     , LIBPATH = libpath
28     )

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