Fix logging level in logrun, demote assumption checks

This commit is contained in:
Alex Groce
2019-01-02 20:16:09 -07:00
parent 9e99978043
commit fec2849bfb
3 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -9,7 +9,8 @@ def logrun(cmd, file, timeout):
sys.stderr.write(" ".join(cmd) + "\n\n")
sys.stderr.flush()
with open(file, 'w') as outf:
p = subprocess.Popen(cmd + ["--log_level", "1"], stdout=outf, stderr=outf)
# We need to set log_level so we see ALL messages, for testing
p = subprocess.Popen(cmd + ["--log_level", "0"], stdout=outf, stderr=outf)
start = time.time()
oldContents = ""
lastOutput = time.time()