| Revision: | 1.3 | 
| Committed: | Mon Mar 28 17:48:43 2016 UTC (9 years, 7 months ago) by schorsch | 
| Branch: | MAIN | 
| Changes since 1.2: | +8 -20 lines | 
| Log Message: | Refactoring of test suite, use independently of SCons and with Py2.7 or 3.x. | 
| # | Content | 
|---|---|
| 1 | # -*- coding: latin-1 -*- | 
| 2 | from __future__ import division, print_function, unicode_literals | 
| 3 | |
| 4 | import os | 
| 5 | import sys | 
| 6 | |
| 7 | import run_tests | 
| 8 | |
| 9 | Import('env') | 
| 10 | |
| 11 | def run_tests(target=None,source=None,env=None): | 
| 12 | bindir = Dir(env['RAD_BUILDBIN']).get_abspath() | 
| 13 | radlib = Dir(env['RAD_BUILDRLIB']).get_abspath() | 
| 14 | run_tests.RadianceTests(bindir=[bindir], radlib=[radlib], V=True) | 
| 15 | |
| 16 | env.Command(None,'run_tests.py',action=Action(run_tests)) |