nixosTests.scaphandre: handleTest -> runTest
This commit is contained in:
parent
f693e18323
commit
ea3e5b125c
@ -1260,7 +1260,7 @@ in
|
|||||||
sane = runTest ./sane.nix;
|
sane = runTest ./sane.nix;
|
||||||
sanoid = runTest ./sanoid.nix;
|
sanoid = runTest ./sanoid.nix;
|
||||||
saunafs = runTest ./saunafs.nix;
|
saunafs = runTest ./saunafs.nix;
|
||||||
scaphandre = handleTest ./scaphandre.nix { };
|
scaphandre = runTest ./scaphandre.nix;
|
||||||
schleuder = runTest ./schleuder.nix;
|
schleuder = runTest ./schleuder.nix;
|
||||||
scion-freestanding-deployment = handleTest ./scion/freestanding-deployment { };
|
scion-freestanding-deployment = handleTest ./scion/freestanding-deployment { };
|
||||||
scrutiny = runTest ./scrutiny.nix;
|
scrutiny = runTest ./scrutiny.nix;
|
||||||
|
@ -1,22 +1,18 @@
|
|||||||
import ./make-test-python.nix {
|
{
|
||||||
name = "scaphandre";
|
name = "scaphandre";
|
||||||
|
|
||||||
nodes = {
|
nodes.scaphandre =
|
||||||
scaphandre =
|
{ pkgs, ... }:
|
||||||
{ pkgs, ... }:
|
{
|
||||||
{
|
boot.kernelModules = [ "intel_rapl_common" ];
|
||||||
boot.kernelModules = [ "intel_rapl_common" ];
|
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.scaphandre ];
|
environment.systemPackages = [ pkgs.scaphandre ];
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
testScript =
|
testScript = ''
|
||||||
{ nodes, ... }:
|
scaphandre.start()
|
||||||
''
|
scaphandre.wait_until_succeeds(
|
||||||
scaphandre.start()
|
"scaphandre stdout -t 4",
|
||||||
scaphandre.wait_until_succeeds(
|
)
|
||||||
"scaphandre stdout -t 4",
|
'';
|
||||||
)
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user