1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-29 21:50:58 +01:00

tests/functional: Work around stack overflows under ASAN in doc-functor tests

This was failing under ASAN in https://hydra.nixos.org/build/315173638/nixlog/1.
ASAN uses a bit more stack space and the default max call depth is not enough.
Not sure what's so special about this particular test.
This commit is contained in:
Sergei Zimmerman 2025-11-29 01:10:26 +03:00
parent 048a58d331
commit a2acb6d7aa
No known key found for this signature in database
3 changed files with 10 additions and 5 deletions

View file

@ -43,7 +43,7 @@ error:
| ^
91| };
(19999 duplicate frames omitted)
(199 duplicate frames omitted)
error: stack overflow; max-call-depth exceeded
at /path/to/tests/functional/repl/doc-functor.nix:90:23:
@ -56,7 +56,7 @@ nix-repl> :doc diverging
error:
… while partially calling '__functor' to retrieve documentation
(10000 duplicate frames omitted)
(100 duplicate frames omitted)
… while calling '__functor'
at /path/to/tests/functional/repl/doc-functor.nix:103:21: