[3.0] Updated patch-coverage tool to catch fewer errors 99/84899/1
authorDavid Steele <david.steele@samsung.com>
Mon, 8 Aug 2016 18:46:43 +0000 (19:46 +0100)
committerAgnelo Vaz <agnelo.vaz@samsung.com>
Mon, 22 Aug 2016 17:04:08 +0000 (18:04 +0100)
commit6df477ec7ca63489c5b01ab1455c6b01fcf6aa10
treeef772b01b164c25c54720c2706c73727e0236822
parent159b3f501b971a40fdcbb0239bdcc9da1afaa048
[3.0] Updated patch-coverage tool to catch fewer errors

Patch coverage tool was catching coverage errors for files in
non-source tree and of non-source code, also was catching changes
that had no coverage change.

Also added mechanism to choose the right patch, or to fail
if there are changes in both the working tree and the index.

Also added html output.

One minor gotcha spotted - added test code which was in-advertently covered
because of a case fallthrough, and passed, though this then caused unchanged
code to reduce in coverage.

Change-Id: I439ce905a2ca906498e03b5c182b05e70e4f28d4
automated-tests/patch-coverage.pl