diff options
Diffstat (limited to 'chromium/testing/test_env_user_script.py')
-rwxr-xr-x | chromium/testing/test_env_user_script.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chromium/testing/test_env_user_script.py b/chromium/testing/test_env_user_script.py index 8cf70adef21..1d94387633d 100755 --- a/chromium/testing/test_env_user_script.py +++ b/chromium/testing/test_env_user_script.py @@ -5,8 +5,13 @@ """Script for use in test_env unittests.""" +import os +import sys + import test_env +HERE = os.path.dirname(os.path.abspath(__file__)) +TEST_SCRIPT = os.path.join(HERE, 'test_env_test_script.py') if __name__ == '__main__': - test_env.run_command(['python', 'test_env_test_script.py']) + test_env.run_command([sys.executable, TEST_SCRIPT]) |