Allow clients to un-suppress output from gUnit EXPECT_EXIT tests.

This is useful for running individual tests in a separate process, which is
useful for testing e.g. flag changes which have a process-global effect.

PiperOrigin-RevId: 540580573
Change-Id: I18a5d24d79425a9d595be3369efc44e2f655f6f8
This commit is contained in:
Abseil Team
2023-06-15 07:52:03 -07:00
committed by Copybara-Service
parent 4c7aee827e
commit 18fa6a4db3
4 changed files with 9 additions and 6 deletions

View File

@@ -173,7 +173,7 @@ class TestEventListenersAccessor {
}
static void SuppressEventForwarding(TestEventListeners* listeners) {
listeners->SuppressEventForwarding();
listeners->SuppressEventForwarding(true);
}
};