commit | 0d78f020f02fa9d4d43bea4cf5e2ad45f58b1d87 | [log] [tgz] |
---|---|---|
author | Mitchell Kember <mkember@fuchsia.infra.roller.google.com> | Thu Nov 23 04:08:15 2023 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Nov 22 20:09:33 2023 -0800 |
tree | ba8cece27aacf7aa0cf7407565d1cf3ab72f3a04 | |
parent | 22a4c81fae94e7ceb8c1e416298541af56d4640c [diff] |
[roll] Roll fuchsia [fidlc] Migrate remaining tests to ASSERT_COMPILER_DIAGNOSTICS This is a continuation of I4fabf94e8b2550d67b176fab42d5e12a9f361062, migrating all remaining fidlc tests to use ExpectFail and ASSERT_COMPILER_DIAGNOSTICS. The motivation is that I'm refactoring some error reporting for the implementation of RFC-0231, and this is much easier with the ExpectFail system because it asserts errors based on their final sorted order, not based on the order they were encountered during compilation. Some other changes: * Made tests with loops use SCOPED_TRACE to include the library in error messages rather than passing it to each assertion. * Added assertion in TestLibrary destructor to ensure that tests don't forget to make an assertion on the library. This caught a few tests that weren't doing anything. Test: fx test fidlc-test Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/950759 Original-Revision: 0d2133ed5b822a6ebc8a2ecd082d3b279a1753d6 GitOrigin-RevId: ae5e415baf6e07a839fb46ac95b018671dc89e77 Change-Id: I62488699289fcd5dcb6e794a41e68fb1a44b5e1b
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia
on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.