From 1c73a27a512a9b9d0b82284a688a6cbf13a0adea Mon Sep 17 00:00:00 2001 From: "petersont@chromium.org" Date: Tue, 9 Jun 2009 23:58:25 +0000 Subject: Review URL: http://codereview.chromium.org/118473 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17998 0039d316-1c4b-4281-b951-d872f2087c98 --- o3d/tests/build.scons | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'o3d/tests/build.scons') 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}'), -- cgit v1.1