On Thu, Dec 10, 2020 at 06:10:10PM -0500, Willem de Bruijn wrote:
From: Willem de Bruijn willemb@google.com
FIXTURE_VARIANT data is passed to FIXTURE_SETUP and TEST_F as variant.
In some cases, the variant will change the setup, such that expections also change on teardown. Also pass variant to FIXTURE_TEARDOWN.
The new FIXTURE_TEARDOWN logic is identical to that in FIXTURE_SETUP, right above.
Signed-off-by: Willem de Bruijn willemb@google.com
Thanks! This was on my TODO list. :)
Acked-by: Kees Cook keescook@chromium.org