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