HomeFreeBSD

fusefs tests: handle -Wdeprecated* issues with GoogleTest 1.14.0

Description

fusefs tests: handle -Wdeprecated* issues with GoogleTest 1.14.0

INSTANTIATE_TEST_CASE_P has been replaced with INSTANTIATE_TEST_SUITE_P.
Replace all uses of the former macro with the latter macro.

While here, address the fact that the latter macro doesn't permit some
of the constructions that the former macro did, e.g., empty parameters,
etc.

Conflicts:
tests/sys/fs/fusefs/fallocate.cc (fix applied manually)
tests/sys/fs/fusefs/io.cc (change reverted)

MFC after: 2 weeks
Reviewed by: asomers
Differential Revision: https://reviews.freebsd.org/D41398

(cherry picked from commit 811e0a31acafd6ab21f89bec8ba0fb8c09f258d2)

Details

Provenance
ngieAuthored on Aug 8 2023, 1:42 PM
Reviewer
asomers
Differential Revision
D41398: fusefs tests: handle -Wdeprecated* issues with GoogleTest 1.14.0
Parents
rG7b17666c32f7: contrib/tzdata: import tzdata 2025b
Branches
Unknown
Tags
Unknown