Index: testing/tools/common.py |
diff --git a/testing/tools/common.py b/testing/tools/common.py |
index ce292bf41fae47ce586dc2258cd4e8b6d716c619..6e9de7c82c67828a012a96b90d800e0152375bd9 100755 |
--- a/testing/tools/common.py |
+++ b/testing/tools/common.py |
@@ -18,13 +18,6 @@ |
raise Exception('Confused, can not determine OS, aborting.') |
-def RunCommandToFile(cmd, file): |
- try: |
- subprocess.check_call(cmd, stdout=file) |
- return None |
- except subprocess.CalledProcessError as e: |
- return e |
- |
def RunCommand(cmd, redirect_output=False): |
try: |
if redirect_output: |
@@ -34,7 +27,6 @@ |
return None |
except subprocess.CalledProcessError as e: |
return e |
- |
# Adjust Dr. Memory wrapper to have separate log directory for each test |
# for better error reporting. |