diff options
author | Vinson Lee <vlee@vmware.com> | 2009-07-17 18:41:51 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2009-07-17 18:41:51 -0700 |
commit | 5e6ae8c19d01065e0e7f0132244df5b0631a2b8a (patch) | |
tree | b121c9e70a89a80b2484a1ab4ee8b16d6fb707cb /framework/exectest.py | |
parent | 7408af0609eacef99099f9c284d025502739f459 (diff) |
Run piglit tests with universal_newlines.
Windows outputs \r\n newlines. Using Python universal newline
support allows piglit-run.py to parse the output as intended.
Diffstat (limited to 'framework/exectest.py')
-rw-r--r-- | framework/exectest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/exectest.py b/framework/exectest.py index 31848653..8d6a3bcc 100644 --- a/framework/exectest.py +++ b/framework/exectest.py @@ -41,7 +41,8 @@ class PlainExecTest(Test): proc = subprocess.Popen( self.command, stdout=subprocess.PIPE, - stderr=subprocess.PIPE + stderr=subprocess.PIPE, + universal_newlines=True ) out,err = proc.communicate() |