nixpkgs/lib/tests
Victor Engmark 989f034ff1 lib/tests: Set hardening pragmas
Makes any programming errors more likely to show up early.

Non-obvious changes because of this:

- Ignore the `evalConfig` result in `reportFailure`; we're not checking
  it at that point.
- Pre-increment `$fail` and `$pass` to make sure the arithmetic doesn't
  result in a zero, which would result in a non-zero exit code for the
  expression.
2021-11-26 10:55:14 +13:00
..
modules modules: Add moduleType to module arguments 2021-11-22 16:50:50 +01:00
check-eval.nix lib/tests: Add check-eval.nix to run simple tests. 2018-03-04 06:28:49 -05:00
maintainers.nix lib/tests/maintainers: add matrix option 2021-10-01 21:27:00 +02:00
misc.nix lib: add function escapeXML 2021-10-03 11:28:03 +02:00
modules.sh lib/tests: Set hardening pragmas 2021-11-26 10:55:14 +13:00
release.nix lib/tests/sources: update to Nix 2.4 cli syntax 2021-11-09 10:47:20 -08:00
sources.sh lib/tests: Set hardening pragmas 2021-11-26 10:55:14 +13:00
systems.nix lib/systems: add minimal s390x-linux cross-compile support 2021-09-09 10:58:47 +00:00