diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-29 03:51:22 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-29 03:51:22 +0000 |
commit | ed763a7c8b0295fd8922f03da1717176e16ab94b (patch) | |
tree | f56a07577092f3270ef29dab57e75e10ffbbc07d /testing/test_env.py | |
parent | 2b8ac34229b953d763712d038eb52bb989e52568 (diff) | |
download | chromium_src-ed763a7c8b0295fd8922f03da1717176e16ab94b.zip chromium_src-ed763a7c8b0295fd8922f03da1717176e16ab94b.tar.gz chromium_src-ed763a7c8b0295fd8922f03da1717176e16ab94b.tar.bz2 |
Fix errors in xvfb.py and run_test_from_archive.py
run_test_from_archive_smoke_test.py didn't test directory creation so this was
broken. I tested it manually and weeded out the current bug.
For the modification in test_env.py, this is concerning. Without this
modification, I was getting:
Traceback (most recent call last):
File "../testing/xvfb.py", line 133, in <module>
sys.exit(main())
File "../testing/xvfb.py", line 129, in main
return run_executable(sys.argv[2:], sys.argv[1], os.environ.copy())
File "../testing/xvfb.py", line 118, in run_executable
return test_env.run_executable(cmd, env)
AttributeError: 'module' object has no attribute 'run_executable'
Adding a print() or anything else fixed the problem. I'm not sure what's
corrupted on my system.
TBR=cmp@chromium.org,csharp@chromium.org
NOTRY=true
BUG=
Review URL: https://chromiumcodereview.appspot.com/10890027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153847 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'testing/test_env.py')
-rwxr-xr-x | testing/test_env.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/test_env.py b/testing/test_env.py index 0720fbb..b18313e5 100755 --- a/testing/test_env.py +++ b/testing/test_env.py @@ -48,5 +48,5 @@ def main(): return run_executable(sys.argv[1:], os.environ.copy()) -if __name__ == "__main__": +if __name__ == '__main__': sys.exit(main()) |