Mercurial > hg
diff tests/test-churn.t @ 24330:799bc18e14d1
run-tests: avoid running the same test instance concurrently
There's a fair amount of mutable state stored on test case
instances. That causes many weird failures if you try to do something
like `run-tests.py -j16 --loop test-help.t`. The quick fix is this
slightly weird test-reloading dance, which ensures that every time a
test is executed it runs on a fresh instance of the TestCase subclass.
author | Augie Fackler <augie@google.com> |
---|---|
date | Fri, 13 Mar 2015 12:47:16 -0400 |
parents | 73b3218bb078 |
children | 1aee2ab0f902 |