Show More
@@ -2346,15 +2346,6 b' class TestRunner(object):' | |||||
2346 | return self._gettest(desc, i) |
|
2346 | return self._gettest(desc, i) | |
2347 |
|
2347 | |||
2348 | try: |
|
2348 | try: | |
2349 | if self._installdir: |
|
|||
2350 | self._installhg() |
|
|||
2351 | self._checkhglib("Testing") |
|
|||
2352 | else: |
|
|||
2353 | self._usecorrectpython() |
|
|||
2354 | if self.options.chg: |
|
|||
2355 | assert self._installdir |
|
|||
2356 | self._installchg() |
|
|||
2357 |
|
||||
2358 | if self.options.restart: |
|
2349 | if self.options.restart: | |
2359 | orig = list(testdescs) |
|
2350 | orig = list(testdescs) | |
2360 | while testdescs: |
|
2351 | while testdescs: | |
@@ -2392,6 +2383,16 b' class TestRunner(object):' | |||||
2392 | if self.options.verbose: |
|
2383 | if self.options.verbose: | |
2393 | verbosity = 2 |
|
2384 | verbosity = 2 | |
2394 | runner = TextTestRunner(self, verbosity=verbosity) |
|
2385 | runner = TextTestRunner(self, verbosity=verbosity) | |
|
2386 | ||||
|
2387 | if self._installdir: | |||
|
2388 | self._installhg() | |||
|
2389 | self._checkhglib("Testing") | |||
|
2390 | else: | |||
|
2391 | self._usecorrectpython() | |||
|
2392 | if self.options.chg: | |||
|
2393 | assert self._installdir | |||
|
2394 | self._installchg() | |||
|
2395 | ||||
2395 | result = runner.run(suite) |
|
2396 | result = runner.run(suite) | |
2396 |
|
2397 | |||
2397 | if result.failures: |
|
2398 | if result.failures: |
General Comments 0
You need to be logged in to leave comments.
Login now