diff options
author | Abseil Team <absl-team@google.com> | 2022-11-03 16:34:43 (GMT) |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-11-03 16:35:31 (GMT) |
commit | 66366cea569337c53c7ef1c72f84b566746e465e (patch) | |
tree | e827f97537b11d52c5bdec3dcb54ffd648cac881 /docs | |
parent | 3026483ae575e2de942db5e760cf95e973308dd5 (diff) | |
download | googletest-66366cea569337c53c7ef1c72f84b566746e465e.zip googletest-66366cea569337c53c7ef1c72f84b566746e465e.tar.gz googletest-66366cea569337c53c7ef1c72f84b566746e465e.tar.bz2 |
Add documentation for `--gunit_recreate_environments_when_repeating`.
PiperOrigin-RevId: 485895339
Change-Id: I09b0f535941531ef7bcb74593d385891d56b3e32
Diffstat (limited to 'docs')
-rw-r--r-- | docs/advanced.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/advanced.md b/docs/advanced.md index 5925170..f16382f 100644 --- a/docs/advanced.md +++ b/docs/advanced.md @@ -1913,8 +1913,12 @@ Repeat the tests whose name matches the filter 1000 times. If your test program contains [global set-up/tear-down](#global-set-up-and-tear-down) code, it will be -repeated in each iteration as well, as the flakiness may be in it. You can also -specify the repeat count by setting the `GTEST_REPEAT` environment variable. +repeated in each iteration as well, as the flakiness may be in it. To avoid +repeating global set-up/tear-down, specify +`--gtest_recreate_environments_when_repeating=false`{.nowrap}. + +You can also specify the repeat count by setting the `GTEST_REPEAT` environment +variable. ### Shuffling the Tests |