mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
nixos/lib/test-driver: add driver-timeout as a passthru test
From now on, we will aim to ensure that the test driver gets tested by OfBorg using all our available tests. This commit adds the driver timeout test to the driver.
This commit is contained in:
parent
c90219633c
commit
05dd78cf4b
1 changed files with 5 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
, tesseract4
|
||||
, vde2
|
||||
, extraPythonPackages ? (_ : [])
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication {
|
||||
|
@ -31,6 +32,10 @@ python3Packages.buildPythonApplication {
|
|||
++ (lib.optionals enableOCR [ imagemagick_light tesseract4 ])
|
||||
++ extraPythonPackages python3Packages;
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests.nixos-test-driver) driver-timeout;
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = with python3Packages; [ mypy ruff black ];
|
||||
checkPhase = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue