nixpkgs/pkgs/test
Silvan Mosberger 37f8f6681c tests.nixpkgs-check-by-name: Intermediate error type refactoring prep
Currently the tool prints problems right as it is checking the code
without an intermediate error representation. However for various reasons
it would be beneficial to have an intermediate error type:
- It makes the code cleaner, having all errors in one place
- It allows printing the error in different ways, e.g. for a future
  --json mode

This commit prepares for an incremental refactoring for an intermediate
error/problem representation. Most notable is that we want to be able to collect
multiple errors/problems and not just exit on the first one.

We introduce the type alias CheckResult and CheckError (later renamed to
NixpkgsProblem), where CheckError allows collecting multiple
CheckErrors using the utility function flatten_check_results (later
renamed to check_result::sequence)

The write_check_result function is only temporarily introduced to help
refactoring, it's removed again in later commits.
2023-10-24 01:11:57 +02:00
..
cc-wrapper tests.cc-wrapper: show command output on different line 2023-09-07 22:36:16 +03:00
coq tests.coq.overrideCoqDerivation: use runCommand instead of runCommandNoCC 2022-09-03 21:02:17 +09:00
cross tests.cross.sanity: add armv5tel and armv6l 2023-08-15 19:11:09 -07:00
cuda cudaPackages: bump default cudaPackages_11_7 -> cudaPackages_11_8 (#238622) 2023-06-20 14:12:54 -04:00
cue cue: test in tests.cue-validation 2022-12-08 22:19:23 +01:00
dhall
dotnet tests.dotnet: init with test for projectReferences 2023-05-26 16:18:07 +02:00
haskell Merge master into haskell-updates 2023-07-26 00:13:28 +00:00
hooks tests: move stdenv hook tests to stdenv.hooks 2022-12-12 21:39:56 +02:00
install-shell-files
ld-library-path
macos-sierra-shared
make-binary-wrapper tests.makeBinaryWrapper: fix cross test on aarch64-linux 2023-09-15 08:48:31 +03:00
make-hardcode-gsettings-patch makeHardcodeGsettingsPatch: Support other constructors 2022-12-19 17:38:57 +01:00
make-wrapper
nixos-functions
nixpkgs-check-by-name tests.nixpkgs-check-by-name: Intermediate error type refactoring prep 2023-10-24 01:11:57 +02:00
php
simple treewide: source .attrs in builders 2022-12-08 21:09:02 +02:00
stdenv patch-shebangs: add a flag to update shebangs with store paths 2023-06-19 09:01:21 +03:00
stdenv-inputs
texlive texlive.bin.core-big: enable upmendex 2023-08-29 16:16:15 +01:00
top-level pkgs/top-level: use lib.systems.equals for crossSystem 2023-09-13 07:22:52 +03:00
vim vimUtils: buildVimPluginFrom2Nix renamed to buildVimPlugin 2023-09-27 19:08:38 +02:00
config.nix
default.nix llvmPackages_rocm -> rocmPackages.llvm 2023-10-09 16:38:51 -05:00
kernel.nix tests.kernel-config: remove test that wasn't being run 2023-01-17 20:01:58 +02:00
overriding.nix stdenv: fix overriding with attrset when finalAttrs isn't used 2023-07-03 21:34:50 +03:00