Feature #19457
closedSome improvements to test-all suite
Description
Hi, I've been making some improvements to this suite in a branch of my own and came up with a list of changes I think are good but I would like input from developers.
-
Currently test-all with -j option does not show errors/failures immediately, it waits until end. Additionaly it doesn't really show them at end, it only shows
after it retries the tests in current process. I made changes to make it show immediately and have a summary before the retry. -
If timeout occurs in -j mode (default 180 sec), the worker process is terminated but no new worker is added to replace it. I added this.
-
If a timeout occurs in -j mode, it is not reported immediately. I made it do so.
-
I added -no-leakchecker flag. I use this often when I don't want any output of DRB tests because I get lots of leakchecker reports from this for some reason.
-
when filtering test name with --name option, you can give regexp like /test_hash/ but it can also match class name like !/DRbTest/. You can't give //i flag so you need to get case
exactly right for the class names. I added //i flag functionality for positive and negative regexps. -
Fixed colorization of failures/skips.
-
I added test suite (test class) GC in serial (no -j) mode. After a test class finishes the constant is removed and references deleted. It saves quite a bit of memory in my tests so far.
Motivation to reduce memory and reduce full GC pause time.
I have all these changes in a single branch. If any of these changes interest you, let me know and I will try to isolate them in a single commit and make a PR.
Updated by nobu (Nobuyoshi Nakada) over 2 years ago
Interesting, patches are welcome.
Updated by luke-gru (Luke Gruber) over 2 years ago
I've created some PRs related to this, and now regret opening an issue for this. Since I cannot close it, can someone close please? Thanks!
Updated by hsbt (Hiroshi SHIBATA) over 2 years ago
- Status changed from Open to Closed