/[escript]/trunk/escript/test/SConstruct
ViewVC logotype

Annotation of /trunk/escript/test/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 248 - (hide annotations)
Tue Nov 29 04:58:23 2005 UTC (14 years, 4 months ago) by jgs
File size: 1346 byte(s)
add top level scons config files to allow building
of all unit tests for each module at once

1 jgs 248 # top-level Scons configuration file for all escript unit tests
2    
3     import os
4    
5     #
6     # ensure correct versions of python and scons
7    
8     EnsurePythonVersion(2,3)
9     EnsureSConsVersion(0,96)
10    
11     #
12     # retreive command-line arguments if any
13     # these are passed through to SConscripts
14    
15     if ARGUMENTS.get('usegcc',0):
16     usegcc = 1
17     else:
18     usegcc = 0
19     Export(["usegcc"])
20    
21     if ARGUMENTS.get('options',0):
22     options = ARGUMENTS.get('options',0)
23     else:
24     options = None
25     Export(["options"])
26    
27     #
28     # set and export esysroot
29    
30     esysroot = Dir('#../..')
31     Export(["esysroot"])
32    
33     #
34     # call appropriate SConscripts
35    
36     target_scripts = ['Data/SConstruct',
37     'DataAlgorithmAdapter/SConstruct',
38     'DataArray/SConstruct',
39     'DataArrayView/SConstruct',
40     'DataBlocks2D/SConstruct',
41     'DataC/SConstruct',
42     'DataCached/SConstruct',
43     'DataConstant/SConstruct',
44     'DataEmpty/SConstruct',
45     'DataExpanded/SConstruct',
46     'DataFactory/SConstruct',
47     'DataProf/SConstruct',
48     'DataTagged/SConstruct',
49     'DataVariable/SConstruct',
50     'DataVector/SConstruct',
51     'FunctionSpace/SConstruct',
52     'Taipan/SConstruct']
53    
54     SConscript(target_scripts, duplicate=0)

  ViewVC Help
Powered by ViewVC 1.1.26