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: fab2ead7dcaacfee0bd9959d4db8b47ead2ca505
  1. acts/