From 5d49e26f710bb79145ed4e962154166a7edd81c1 Mon Sep 17 00:00:00 2001 From: piegames Date: Tue, 20 May 2025 13:35:19 +0200 Subject: [PATCH] tests/functional/lang: Remove disabled tail-call test It was introduced back in 2013, was disabled in 2014 again for dubious reasons and according to horrors is unsound anyways and can never really work. It was the only disabled test, so I removed the "infrastructure" for that in the test runner as well. functional2/lang will have much better ways for skipping tests anyways Change-Id: Icb8697fb85221e3206fb64cb917c03607ef278a7 --- tests/functional/lang.sh | 2 +- tests/functional/lang/eval-okay-tail-call-1.exp-disabled | 1 - tests/functional/lang/eval-okay-tail-call-1.nix | 3 --- 3 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 tests/functional/lang/eval-okay-tail-call-1.exp-disabled delete mode 100644 tests/functional/lang/eval-okay-tail-call-1.nix diff --git a/tests/functional/lang.sh b/tests/functional/lang.sh index 3b0b52c17..8310ac1f6 100755 --- a/tests/functional/lang.sh +++ b/tests/functional/lang.sh @@ -117,7 +117,7 @@ for i in eval-okay-*.nix; do echo "FAIL: $i should evaluate" badExitCode=1 fi - elif test ! -e "$i.exp-disabled"; then + else if expect 0 env \ NIX_PATH=dir3:dir4 \ diff --git a/tests/functional/lang/eval-okay-tail-call-1.exp-disabled b/tests/functional/lang/eval-okay-tail-call-1.exp-disabled deleted file mode 100644 index f7393e847..000000000 --- a/tests/functional/lang/eval-okay-tail-call-1.exp-disabled +++ /dev/null @@ -1 +0,0 @@ -100000 diff --git a/tests/functional/lang/eval-okay-tail-call-1.nix b/tests/functional/lang/eval-okay-tail-call-1.nix deleted file mode 100644 index a3962ce3f..000000000 --- a/tests/functional/lang/eval-okay-tail-call-1.nix +++ /dev/null @@ -1,3 +0,0 @@ -let - f = n: if n == 100000 then n else f (n + 1); -in f 0