Commit b506b73c authored by Stefan Behnel's avatar Stefan Behnel

List any uncollectable objects at end of test run.

parent 226ad371
......@@ -2159,6 +2159,9 @@ def runtests(options, cmd_args, coverage=None):
pyximport.install(pyimport=True, build_dir=os.path.join(WORKDIR, '_pyximport'),
load_py_module_on_import_failure=True, inplace=True)
import gc
gc.set_debug(gc.DEBUG_UNCOLLECTABLE)
result = test_runner.run(test_suite)
if common_utility_dir and options.shard_num < 0 and options.cleanup_workdir:
......
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