nixos/tests: extra-python-packages -> nixos-test-driver/extra-python-packages

Categorizing the tests for the test driver helps with testing the test driver.

Changed files
+11 -2
nixos
doc
tests
+2
nixos/doc/manual/development/developing-the-test-driver.chapter.md
···
## Testing changes to the test framework {#sec-test-the-test-framework}
When making significant changes to the test framework, we run the tests on Hydra, to avoid disrupting the larger NixOS project.
For this, we use the `python-test-refactoring` branch in the `NixOS/nixpkgs` repository, and its [corresponding Hydra jobset](https://hydra.nixos.org/jobset/nixos/python-test-refactoring).
···
## Testing changes to the test framework {#sec-test-the-test-framework}
+
We currently have limited unit tests for the framework itself. You may run these with `nix-build -A nixosTests.nixos-test-driver`.
+
When making significant changes to the test framework, we run the tests on Hydra, to avoid disrupting the larger NixOS project.
For this, we use the `python-test-refactoring` branch in the `NixOS/nixpkgs` repository, and its [corresponding Hydra jobset](https://hydra.nixos.org/jobset/nixos/python-test-refactoring).
+8 -1
nixos/tests/all-tests.nix
···
;
in {
_3proxy = runTest ./3proxy.nix;
aaaaxy = runTest ./aaaaxy.nix;
acme = runTest ./acme.nix;
···
etcd-cluster = handleTestOn ["x86_64-linux"] ./etcd-cluster.nix {};
etebase-server = handleTest ./etebase-server.nix {};
etesync-dav = handleTest ./etesync-dav.nix {};
-
extra-python-packages = handleTest ./extra-python-packages.nix {};
evcc = handleTest ./evcc.nix {};
fancontrol = handleTest ./fancontrol.nix {};
fcitx5 = handleTest ./fcitx5 {};
···
;
in {
+
+
# Testing the test driver
+
nixos-test-driver = {
+
extra-python-packages = handleTest ./nixos-test-driver/extra-python-packages.nix {};
+
};
+
+
# NixOS vm tests and non-vm unit tests
+
_3proxy = runTest ./3proxy.nix;
aaaaxy = runTest ./aaaaxy.nix;
acme = runTest ./acme.nix;
···
etcd-cluster = handleTestOn ["x86_64-linux"] ./etcd-cluster.nix {};
etebase-server = handleTest ./etebase-server.nix {};
etesync-dav = handleTest ./etesync-dav.nix {};
evcc = handleTest ./evcc.nix {};
fancontrol = handleTest ./fancontrol.nix {};
fcitx5 = handleTest ./fcitx5 {};
+1 -1
nixos/tests/extra-python-packages.nix nixos/tests/nixos-test-driver/extra-python-packages.nix
···
-
import ./make-test-python.nix ({ ... }:
{
name = "extra-python-packages";
···
+
import ../make-test-python.nix ({ ... }:
{
name = "extra-python-packages";