DescriptionMake PyAuto functional tests compatible with python 2.7
Previously a pyauto functional test tries to restart itself with a correct version of python(i.e. 2.6) if it finds out the current python version is not 2.6.
Make changes to pyauto_functional.py so that it will check the value of an environment variable DO_NOT_RESTART_PYTHON_FOR_PYAUTO when the test starts.
If DO_NOT_RESTART_PYTHON_FOR_PYAUTO is set (to any value), it will not try to restart itself regardless what the current python version is.
This is to allow users to run PyAuto with python 2.7. Users of python 2.7 can now run PyAuto functional tests by setting this environment variable (to any value).
BUG=None
TEST=Ran test_basic.py with DO_NOT_RESTART_PYTHON_FOR_PYAUTO set and unset.
NOTRY=true
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146284
Patch Set 1 #
Total comments: 2
Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #Patch Set 5 : #
Total comments: 2
Patch Set 6 : #Messages
Total messages: 8 (0 generated)
|