Index: testing/test_env.py |
diff --git a/testing/test_env.py b/testing/test_env.py |
index bbbcac529d1d7594213faa25304fefde9771adb2..410f812edfb3e0061c2698b9eab73b0f269030d6 100755 |
--- a/testing/test_env.py |
+++ b/testing/test_env.py |
@@ -25,14 +25,11 @@ def fix_python_path(cmd): |
def run_executable(cmd, env): |
"""Runs an executable with: |
- - environment variable CR_SOURCE_ROOT set to the root directory. |
- environment variable LANGUAGE to en_US.UTF-8. |
- Reuses sys.executable automatically. |
""" |
# Many tests assume a English interface... |
env['LANGUAGE'] = 'en_US.UTF-8' |
- # Used by base/base_paths_linux.cc |
- env['CR_SOURCE_ROOT'] = os.path.abspath(ROOT_DIR).encode('utf-8') |
# Ensure paths are correctly separated on windows. |
cmd[0] = cmd[0].replace('/', os.path.sep) |
cmd = fix_python_path(cmd) |