Commit 9390cc15 authored by Tim Peters's avatar Tim Peters

regrtest's -g option stopped working, during the changes to improve

 error-reporting for the classic compare-expected-output tests.
Curiously, the bug consisted of not simplifying the logic enough!
parent b2ad1c8b
...@@ -283,7 +283,7 @@ def runtest(test, generate, verbose, quiet, testdir = None): ...@@ -283,7 +283,7 @@ def runtest(test, generate, verbose, quiet, testdir = None):
if not testdir: testdir = findtestdir() if not testdir: testdir = findtestdir()
outputdir = os.path.join(testdir, "output") outputdir = os.path.join(testdir, "output")
outputfile = os.path.join(outputdir, test) outputfile = os.path.join(outputdir, test)
if verbose or generate: if verbose:
cfp = None cfp = None
else: else:
cfp = StringIO.StringIO() cfp = StringIO.StringIO()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment