From 0945178b3c6fd9e33002dd6e3c6f77dfca49565a Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 6 Feb 2020 12:19:47 +0100 Subject: nixos/testing: add deprecation notice for Perl VM tests Most VM tests have been migrated to use the python test driver (introduced in #71684), the migration is tracked in #72828 (which also thankfully uncovered and fixed many currently broken tests) While increasing the acceptance and adoption of NixOS integration tests by using a more popular language, there was also nobody willing to do larger refactors in the currently very convoluted test infrastructure. We plan to remove the perl infrastructure between the 20.03 and 20.09 release, to be able to do these refactorings. Some people might be using Perl tests in their internal CI, so print a warning for 20.03, and give users time to move to the python testing infrastructure. --- nixos/lib/testing.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'nixos') diff --git a/nixos/lib/testing.nix b/nixos/lib/testing.nix index ae8ecd6270c..c82abd1f990 100644 --- a/nixos/lib/testing.nix +++ b/nixos/lib/testing.nix @@ -19,7 +19,11 @@ in rec { inherit pkgs; - testDriver = stdenv.mkDerivation { + testDriver = lib.warn '' + Perl VM tests are deprecated and will be removed for 20.09. + Please update your tests to use the python test driver. + See https://github.com/NixOS/nixpkgs/pull/71684 for details. + '' stdenv.mkDerivation { name = "nixos-test-driver"; buildInputs = [ makeWrapper perl ]; -- cgit 1.4.1