ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/test/SConscript
Revision: 1.5
Committed: Mon Jan 8 13:38:37 2018 UTC (6 years, 4 months ago) by schorsch
Branch: MAIN
CVS Tags: rad5R4, rad5R2, rad5R3, HEAD
Changes since 1.4: +9 -3 lines
Log Message:
Updating to SCons 3.x, adding support for Python 3

File Contents

# User Rev Content
1 schorsch 1.3 from __future__ import division, print_function, unicode_literals
2    
3 schorsch 1.1 import os
4     import sys
5 schorsch 1.3
6     import run_tests
7 schorsch 1.1
8     Import('env')
9    
10 schorsch 1.4 def do_run_tests(target=None,source=None,env=None):
11 schorsch 1.3 bindir = Dir(env['RAD_BUILDBIN']).get_abspath()
12 schorsch 1.5 radlib = [Dir(env['RAD_BUILDRLIB']).get_abspath(),
13     Dir('#/src/gen').get_abspath(),
14     Dir('#/src/rt').get_abspath(),
15     ]
16     run_tests.RadianceTests(bindir=[bindir], radlib=radlib, V=True)
17 schorsch 1.1
18 schorsch 1.4 env.Command(None,'run_tests.py',action=Action(do_run_tests))
19 schorsch 1.5
20     # vim: set syntax=python:
21     # vi: set ts=4 sw=4 :
22