Fix -r option breakage caused by TestRunner.register_controller.

Unregister controllers at the end of TestRunner.run so controller
objects are properly recreated for each TestRunner.run call.

Renamed clean_up to unregister_controller to better represent its
purpose.

Added a test to guard against this bug. The tests will have less
external dependencies once TestRunner can take test class instances
directly.

Bug=28351141

Change-Id: Ife542b7d92e51c9a6f47fab9ac710840016f64fe
6 files changed
tree: 11bbe4763e1c37d7c1285ac80ffc2fcdd310ab2d
  1. acts/