1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-28 05:00:58 +01:00
nix/tests/functional/common
Robert Hensing 261f674a25 tests: Suppress environment-dependent warnings
... via _NIX_TEST_NO_ENVIRONMENT_WARNINGS

This environment variable suppresses warnings that depend on the test
environment (such as ulimit warnings in builds on systems with lower
limits, which may well succeed if it weren't for the warning).

This prevents non-deterministic test failures in golden/characterization
tests.

Alternative considered: filtering stderr in test scripts, but that approach
is fragile with binary test output, and potentially multiple call sites.
2025-11-05 00:28:01 +01:00
..
functions.sh startDaemon(): Detect if the daemon crashes before creating the socket 2025-02-18 11:57:45 +01:00
init.sh Make functional tests on NixOS use Meson not Make 2024-11-04 10:39:09 -05:00
meson.build Build Functional tests with Meson 2024-08-14 15:35:40 -04:00
paths.sh No longer copy functional tests to the build dir 2024-11-03 16:42:38 -05:00
subst-vars.sh.in Make functional tests on NixOS use Meson not Make 2024-11-04 10:39:09 -05:00
test-root.sh Functional test for derivation "advanced attrs" 2024-06-23 21:42:56 -04:00
vars.sh tests: Suppress environment-dependent warnings 2025-11-05 00:28:01 +01:00