Commit 396164ee authored by Ramin Halavati's avatar Ramin Halavati Committed by Commit Bot

Update traffic annotation auditor's test build targets and output.

Build targets for traffic annotation auditor's tests are expanded to
cover all required generated files.
The test result is corrected.

Bug: 690323
Change-Id: Iefb2e61fda12e34aa85879da73f1f174baa56c38
TBR: dpranke@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/1016901Reviewed-by: default avatarRamin Halavati <rhalavati@chromium.org>
Commit-Queue: Ramin Halavati <rhalavati@chromium.org>
Cr-Commit-Position: refs/heads/master@{#551724}
parent 246303e4
...@@ -33,8 +33,7 @@ def main_run(args): ...@@ -33,8 +33,7 @@ def main_run(args):
def main_compile_targets(args): def main_compile_targets(args):
json.dump(['chrome', 'remoting/host:host', 'remoting/client:client'], json.dump(['all'], args.output)
args.output)
if __name__ == '__main__': if __name__ == '__main__':
......
...@@ -120,7 +120,7 @@ def main(): ...@@ -120,7 +120,7 @@ def main():
args = parser.parse_args() args = parser.parse_args()
checker = TrafficAnnotationTestsChecker(args.build_path) checker = TrafficAnnotationTestsChecker(args.build_path)
return checker.RunAllTests() return 1 if checker.RunAllTests() else 0
if '__main__' == __name__: if '__main__' == __name__:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment