about summary refs log tree commit diff
path: root/tvix/eval
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2022-10-19T16·50+0200
committerclbot <clbot@tvl.fyi>2022-10-20T02·35+0000
commit60363039ef8a3a93a4e776955f6606a1ec08a438 (patch)
tree36760edbca356a8557110fda3cfb9545652ad210 /tvix/eval
parent0d9eabcaacf25816898116199683740e0e659911 (diff)
test(tvix/eval): eval-okay-eq.nix can actually be tested r/5166
eval-okay-eq.nix is actually an ancient test case that used the ATerm
syntax for the test result. It was disabled for a while, since the
behavior got reverted for a bit, but works on any reasonably modern
Nix implementation. This change matches my [C++ Nix PR].

[C++ Nix PR]: https://github.com/NixOS/nix/pull/7196

Change-Id: I602fd7c83a0bc104ab502c8b6a74e4591272be1a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7045
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/eval')
-rw-r--r--tvix/eval/src/tests/nix_tests/eval-okay-eq.exp1
-rw-r--r--tvix/eval/src/tests/nix_tests/eval-okay-eq.nix (renamed from tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-eq.nix)0
-rw-r--r--tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-eq.exp1
3 files changed, 1 insertions, 1 deletions
diff --git a/tvix/eval/src/tests/nix_tests/eval-okay-eq.exp b/tvix/eval/src/tests/nix_tests/eval-okay-eq.exp
new file mode 100644
index 0000000000..27ba77ddaf
--- /dev/null
+++ b/tvix/eval/src/tests/nix_tests/eval-okay-eq.exp
@@ -0,0 +1 @@
+true
diff --git a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-eq.nix b/tvix/eval/src/tests/nix_tests/eval-okay-eq.nix
index 73d200b381..73d200b381 100644
--- a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-eq.nix
+++ b/tvix/eval/src/tests/nix_tests/eval-okay-eq.nix
diff --git a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-eq.exp b/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-eq.exp
deleted file mode 100644
index 2015847b65..0000000000
--- a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-eq.exp
+++ /dev/null
@@ -1 +0,0 @@
-Bool(True)