nixos/lib/test*: remove perl test driver#96396
Conversation
|
I think that's my only requested change. Everything else looks good. |
|
@aszlig I don't see how #72964 should block merging this in. I agree this would be nice, but I don't know if finding a linter ignoring line lengths is too hard, or if just noone has picked up the task yet. All of nixpkgs managed to somewhat work around these issues too :-) This perl driver has been deprecated for a whole release now, and removing it from nixpkgs for the 20.09 release has been announced as well. |
This has been deprecated in 20.03, and all tests have been migrated to the python framework, effectively making this dead code.
02bd419 to
0620184
Compare
Or if you disable linting on your test suite wholesale, then an evaluation of all your packages produces a screenful of Before removing the Perl driver, I'm more concerned about #86889. It's pretty easy to hang the Python test driver with a test that produces a lot of output on stderr. In my experience it isn't even intermittently; if the test writes thousands of lines, it's going to hang. This is a regression compared to the Perl driver. |
|
For all of 20.03, if you still have been using the non-python test driver, there were 3 lines of warnings: I don't see why getting it down to 1 line per test (after migrating to the python test and setting |
|
@aszlig when hacking on tests you probably want to use |
|
@flokli For my private tests I simply use |
|
Let's talk about how to make the python linter less annoying in #72964. Thanks for merging this PR - I don't really see how this is related to removing a piece of code unused in nixpkgs, and announced to be removed half a year ago. |
Well, there are people who also use one of the test frameworks for their own stuff and dislike this "feature" ;-) |
This has been deprecated in 20.03, and all tests have been migrated to
the python framework, effectively making this dead code.
Motivation for this change
#72828
Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)