Similar to the change in https://aomedia-review.googlesource.com/c/aom/+/115162. This currently is a warning, but the tree should be clean now in the default x86-64 configuration so we can use it to prevent regressions and find any remaining issues in other configurations. BUG=b/159031844
Unified · Split
| @@ -19,3 +19,5 @@ Local Modifications: · 18 unmodified lines | ||
| 19 | 19 | LICENSE |
| 20 | 20 | README.md |
| 21 | 21 | src |
| 22 | +- Enable kErrorOnUninstantiatedParameterizedTest and | |
| 23 | + kErrorOnUninstantiatedTypeParameterizedTest in gtest.cc | |
| @@ -414,8 +414,8 @@ namespace { · 413 unmodified lines | ||
| 414 | 414 | // inserted to report ether an error or a log message. |
| 415 | 415 | // |
| 416 | 416 | // This configuration bit will likely be removed at some point. |
| 417 | −constexpr bool kErrorOnUninstantiatedParameterizedTest = false; | |
| 418 | −constexpr bool kErrorOnUninstantiatedTypeParameterizedTest = false; | |
| 417 | +constexpr bool kErrorOnUninstantiatedParameterizedTest = true; | |
| 418 | +constexpr bool kErrorOnUninstantiatedTypeParameterizedTest = true; | |
| 419 | 419 | |
| 420 | 420 | // A test that fails at a given file/line location with a given message. |
| 421 | 421 | class FailureTest : public Test { |