diff options
Diffstat (limited to 'o3d')
-rw-r--r-- | o3d/tests/build.scons | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/o3d/tests/build.scons b/o3d/tests/build.scons index ba271ab..0af1c95 100644 --- a/o3d/tests/build.scons +++ b/o3d/tests/build.scons @@ -644,7 +644,10 @@ if env.AnyBits('mac', 'windows'): selenium_env['SETUP_SCRIPTS'] = ( 'set PYTHONPATH=' + env.Dir('$MAIN_DIR/scripts').abspath) - selenium_env['ENV']['DXSDK_DIR'] = os.environ['DXSDK_DIR'] + try: + selenium_env['ENV']['DXSDK_DIR'] = os.environ['DXSDK_DIR'] + except KeyError: + selenium_env['ENV']['DXSDK_DIR'] = '' selenium_env.AlwaysBuild(selenium_env.Alias('prep_selenium', [], [Delete('$TARGET_ROOT/${PREP_SELENIUM_ARCHIVE_NAME}'), |