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:
Raito Bezarius 2023-10-27 13:34:03 +02:00
parent c90219633c
commit 05dd78cf4b

View file

@ -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 = ''