1import ./make-test-python.nix {
2 name = "scaphandre";
3
4 nodes = {
5 scaphandre =
6 { pkgs, ... }:
7 {
8 boot.kernelModules = [ "intel_rapl_common" ];
9
10 environment.systemPackages = [ pkgs.scaphandre ];
11 };
12 };
13
14 testScript =
15 { nodes, ... }:
16 ''
17 scaphandre.start()
18 scaphandre.wait_until_succeeds(
19 "scaphandre stdout -t 4",
20 )
21 '';
22}