Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
18 lines
367 B
Nix
18 lines
367 B
Nix
import ./make-test-python.nix {
|
|
name = "scaphandre";
|
|
|
|
nodes = {
|
|
scaphandre = { pkgs, ... } : {
|
|
boot.kernelModules = [ "intel_rapl_common" ];
|
|
|
|
environment.systemPackages = [ pkgs.scaphandre ];
|
|
};
|
|
};
|
|
|
|
testScript = { nodes, ... } : ''
|
|
scaphandre.start()
|
|
scaphandre.wait_until_succeeds(
|
|
"scaphandre stdout -t 4",
|
|
)
|
|
'';
|
|
}
|