Fix hgsubversion test case skipping.

Review Request #10977 — Created March 27, 2020 and submitted

Information

RBTools
release-1.0.x
fddcf2a...

Reviewers

The way that hgsubversion tests were skipping was inefficient and
broken, causing a bunch of failed tests in other suites due to an
incorrect cwd restoration. This change improves the way that
hgsubversion tests are skipped, doing all the existence checks inside
setUpClass and avoiding any expensive operations if the test suite is
going to be skipped.

This is a backport of just the hgsubversion parts of /r/10952/

Ran unit tests.

chipx86
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-1.0.x (0a85323)