From 5bbd2946fa315cce3bb4334e51607dff1b18b686 Mon Sep 17 00:00:00 2001 From: piegames Date: Tue, 24 Jun 2025 15:49:54 +0200 Subject: [PATCH] tests/functional2/lang: Migrate let tests Change-Id: Ia3fc85dafbfd706d719f1766544f836df23ef7c9 --- tests/functional/lang/eval-okay-let.flags | 1 - .../lang/let/eval-okay-ancient-let.out.exp} | 0 .../lang/let/eval-okay.out.exp} | 0 .../lang/let/in-ancient-let.nix} | 0 .../eval-okay-new-let.nix => functional2/lang/let/in.nix} | 0 tests/functional2/lang/let/test.toml | 7 +++++++ 6 files changed, 7 insertions(+), 1 deletion(-) delete mode 100644 tests/functional/lang/eval-okay-let.flags rename tests/{functional/lang/eval-okay-let.exp => functional2/lang/let/eval-okay-ancient-let.out.exp} (100%) rename tests/{functional/lang/eval-okay-new-let.exp => functional2/lang/let/eval-okay.out.exp} (100%) rename tests/{functional/lang/eval-okay-let.nix => functional2/lang/let/in-ancient-let.nix} (100%) rename tests/{functional/lang/eval-okay-new-let.nix => functional2/lang/let/in.nix} (100%) create mode 100644 tests/functional2/lang/let/test.toml diff --git a/tests/functional/lang/eval-okay-let.flags b/tests/functional/lang/eval-okay-let.flags deleted file mode 100644 index 011db98d8..000000000 --- a/tests/functional/lang/eval-okay-let.flags +++ /dev/null @@ -1 +0,0 @@ ---extra-deprecated-features ancient-let diff --git a/tests/functional/lang/eval-okay-let.exp b/tests/functional2/lang/let/eval-okay-ancient-let.out.exp similarity index 100% rename from tests/functional/lang/eval-okay-let.exp rename to tests/functional2/lang/let/eval-okay-ancient-let.out.exp diff --git a/tests/functional/lang/eval-okay-new-let.exp b/tests/functional2/lang/let/eval-okay.out.exp similarity index 100% rename from tests/functional/lang/eval-okay-new-let.exp rename to tests/functional2/lang/let/eval-okay.out.exp diff --git a/tests/functional/lang/eval-okay-let.nix b/tests/functional2/lang/let/in-ancient-let.nix similarity index 100% rename from tests/functional/lang/eval-okay-let.nix rename to tests/functional2/lang/let/in-ancient-let.nix diff --git a/tests/functional/lang/eval-okay-new-let.nix b/tests/functional2/lang/let/in.nix similarity index 100% rename from tests/functional/lang/eval-okay-new-let.nix rename to tests/functional2/lang/let/in.nix diff --git a/tests/functional2/lang/let/test.toml b/tests/functional2/lang/let/test.toml new file mode 100644 index 000000000..77ae4290f --- /dev/null +++ b/tests/functional2/lang/let/test.toml @@ -0,0 +1,7 @@ +[[test]] +runner = "eval-okay" + +[[test]] +runner = "eval-okay" +in = "in-ancient-let.nix" +flags = [ "--extra-deprecated-features", "ancient-let" ]