feat(tvix/tests): check in Nix' language test suite
This adds scaffolding code for running the Nix language test suite. The majority of eval-okay-* tests should eventually be runnable as-is by Tvix, however the eval-fail-* tests might not as we intend to have more useful error messages than upstream Nix. Change-Id: I4f3227f0889c55e4274b804a3072850fb78dd1bd Reviewed-on: https://cl.tvl.fyi/c/depot/+/6126 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: grfn <grfn@gws.fyi>
This commit is contained in:
parent
b28da8ad56
commit
92c53fe982
248 changed files with 2217 additions and 9 deletions
4
tvix/eval/src/tests/nix_tests/eval-okay-hashstring.nix
Normal file
4
tvix/eval/src/tests/nix_tests/eval-okay-hashstring.nix
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
let
|
||||
strings = [ "" "text 1" "text 2" ];
|
||||
in
|
||||
builtins.concatLists (map (hash: map (builtins.hashString hash) strings) ["md5" "sha1" "sha256" "sha512"])
|
||||
Loading…
Add table
Add a link
Reference in a new issue