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

Contents of /trunk/bruce/test/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 242 - (show annotations)
Mon Nov 28 06:20:51 2005 UTC (17 years, 3 months ago) by jgs
File size: 642 byte(s)
draft toplevel unit test scons script for bruce unit tests

1 # top-level Scons configuration file for all bruce unit tests
2
3 # this is not fully implemented - just a placeholder script for now
4
5 import os
6
7 #
8 # ensure correct versions of python and scons
9
10 EnsurePythonVersion(2,3)
11 EnsureSConsVersion(0,96)
12
13 #
14 # retreive command-line arguments if any
15 # these are passed through to SConscripts
16
17 if ARGUMENTS.get('usegcc',0):
18 usegcc = 1
19 else:
20 usegcc = 0
21 Export(["usegcc"])
22
23 #
24 # set and export esysroot
25
26 esysroot = Dir('#..')
27 Export(["esysroot"])
28
29 #
30 # call appropriate SConscripts
31
32 target_scripts = ['Bruce/SConstruct',
33 'BruceFactory/SConstruct']
34
35 SConscript(target_scripts, duplicate=0)

  ViewVC Help
Powered by ViewVC 1.1.26