You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -250,8 +250,9 @@ These bash variables (set via `<file>.init.sh`) are used by the run script:
250
250
When set to `nonzero` instead of a numerical value, the exit code must not be 0.
251
251
252
252
For performance reasons, elab tests can use prebuilt header snapshots.
253
-
Use of the snapshots is controlled by `LEAN_HEADER_SNAPSHOTS`:
254
-
set it to `0` to force them off, or to `1` to force them on.
253
+
Building the snapshots and wiring them into the ctest suite (as the `build_lean_header_snapshots.sh` setup fixture) is gated by the `LEAN_HEADER_SNAPSHOTS` CMake option, which currently defaults to `OFF`.
254
+
Use of the snapshots at runtime is further controlled by the `LEAN_HEADER_SNAPSHOTS` environment variable:
255
+
set it to `0` to force them off, or to `1` to force them on (if enabled at build time).
255
256
By default, they are turned on only when running under ctest.
256
257
To use the pre-built snapshots when manually running tests,
257
258
run `tests/with_stage1_test_env.sh tests/build_lean_header_snapshots.sh`
0 commit comments