Skip to content

Commit 888bd44

Browse files
committed
Stash the test results summary in ./.testresults instead of ./testresults, to avoid visual littering.
- Legacy-Id: 12272
1 parent 425e84c commit 888bd44

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/utils/test_runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def save_test_results(failures, test_labels):
176176
# results and avoid re-running tests if we've alread run them with OK
177177
# result after the latest code changes:
178178
topdir = os.path.dirname(os.path.dirname(settings.BASE_DIR))
179-
tfile = codecs.open(os.path.join(topdir,"testresult"), "a", encoding='utf-8')
179+
tfile = codecs.open(os.path.join(topdir,".testresult"), "a", encoding='utf-8')
180180
timestr = time.strftime("%Y-%m-%d %H:%M:%S")
181181
if failures:
182182
tfile.write("%s FAILED (failures=%s)\n" % (timestr, failures))
@@ -337,7 +337,7 @@ class IetfTestRunner(DiscoverRunner):
337337

338338
make_option('--save-testresult',
339339
action='store_true', dest='save_testresult', default=False,
340-
help='Save short test result data in %s/testresult' % os.path.dirname(os.path.dirname(settings.BASE_DIR))),
340+
help='Save short test result data in %s/.testresult' % os.path.dirname(os.path.dirname(settings.BASE_DIR))),
341341
)
342342

343343
def __init__(self, skip_coverage=False, save_version_coverage=None, **kwargs):

0 commit comments

Comments
 (0)