From a4e132e4162663d786ee6e7deb3b80afb1ddecc8 Mon Sep 17 00:00:00 2001 From: Gabriel Hackebeil Date: Sun, 26 Jun 2016 22:33:32 -0700 Subject: [PATCH] debugging code (references Pyomo/pyomo#4) --- pyutilib/dev/runtests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyutilib/dev/runtests.py b/pyutilib/dev/runtests.py index 3cff0ca1..9c288e7f 100755 --- a/pyutilib/dev/runtests.py +++ b/pyutilib/dev/runtests.py @@ -108,6 +108,7 @@ def run(package, argv, use_exec=use_exec): print("Running... "+' '.join(cmd)) print("") + sys.stdout.flush() rc = 0 if sys.platform.startswith('java'): import subprocess @@ -124,7 +125,7 @@ def run(package, argv, use_exec=use_exec): rc = None os.execvp(cmd[0], cmd) else: - rc,_ = pyutilib.subprocess.run(cmd, tee=True) + rc,_ = pyutilib.subprocess.run(cmd)#, tee=True) return rc def runPyUtilibTests():