nixosTests.scrutiny: migrate to runTest

Part of #386873
This commit is contained in:
Moraxyc 2025-03-21 13:49:47 +08:00
parent a9085572f2
commit ab404806ff
No known key found for this signature in database
2 changed files with 89 additions and 91 deletions

View File

@ -1051,7 +1051,7 @@ in {
scaphandre = handleTest ./scaphandre.nix {}; scaphandre = handleTest ./scaphandre.nix {};
schleuder = handleTest ./schleuder.nix {}; schleuder = handleTest ./schleuder.nix {};
scion-freestanding-deployment = handleTest ./scion/freestanding-deployment {}; scion-freestanding-deployment = handleTest ./scion/freestanding-deployment {};
scrutiny = handleTest ./scrutiny.nix {}; scrutiny = runTest ./scrutiny.nix;
sddm = handleTest ./sddm.nix {}; sddm = handleTest ./sddm.nix {};
sdl3 = handleTest ./sdl3.nix { }; sdl3 = handleTest ./sdl3.nix { };
seafile = handleTest ./seafile.nix {}; seafile = handleTest ./seafile.nix {};

View File

@ -1,7 +1,6 @@
import ./make-test-python.nix ( { lib, ... }:
{ lib, ... }:
{ {
name = "scrutiny"; name = "scrutiny";
meta.maintainers = with lib.maintainers; [ jnsgruk ]; meta.maintainers = with lib.maintainers; [ jnsgruk ];
@ -96,5 +95,4 @@ import ./make-test-python.nix (
output = machine.succeed("cat /run/scrutiny/hello") output = machine.succeed("cat /run/scrutiny/hello")
assert "HelloWorld" in output assert "HelloWorld" in output
''; '';
} }
)