Move testcase event posting out of setup and teardown.

Currently, some testcase-related invocations, e.g. bugreport, take place outside of the test case context. Move test event posting to the beginning and end of exec_one_testcase, respectively. This will also allow the test signal to be passed along to the TestCaseEndEvent.

Bug: None
Test: locally with act.py
Change-Id: I153bb2e95bf8f6a04bf30f47502079ec940e47f0
1 file changed
tree: 72af90bd7d574de00a1030f20026de855e5d6178
  1. acts/
  2. tools/
  3. wts-acts/
  4. Android.mk
  5. PREUPLOAD.cfg