commit | fc724ab59a4f5fa5b6412710695100a4a6f54a6f | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Thu Nov 28 15:30:21 2024 +0900 |
committer | Remi NGUYEN VAN <reminv@google.com> | Mon Dec 02 09:26:53 2024 +0900 |
tree | 1ebd86627a361ec217e568a3116d9bb20fee6bdf | |
parent | 70c4de8edca49d75bf91eed22fe3db211028640b [diff] |
Only report tryTest errors when not caught Instead of reporting tryTest errors when the tryTest block throws, report them in the cleanup block if no catch block has caught it. This fixes a bug where tests that use tryTest/catch would collect diagnostics in expected cases. Test: atest Change-Id: Ic53ae54f1945a2784becd50e5890fad8e7461474