summaryrefslogtreecommitdiff
path: root/testing/tools/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tools/common.py')
-rwxr-xr-xtesting/tools/common.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/testing/tools/common.py b/testing/tools/common.py
index ce292bf41f..6e9de7c82c 100755
--- a/testing/tools/common.py
+++ b/testing/tools/common.py
@@ -18,13 +18,6 @@ def os_name():
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:
@@ -35,7 +28,6 @@ def RunCommand(cmd, redirect_output=False):
except subprocess.CalledProcessError as e:
return e
-
# Adjust Dr. Memory wrapper to have separate log directory for each test
# for better error reporting.
def DrMemoryWrapper(wrapper, pdf_name):