1 { runCommand, phoronix-test-suite }:
4 inherit (phoronix-test-suite) pname version;
7 runCommand "${pname}-tests" { meta.timeout = 60; }
9 # automatic initial setup to prevent interactive questions
10 ${phoronix-test-suite}/bin/phoronix-test-suite enterprise-setup >/dev/null
11 # get version of installed program and compare with package version
12 if [[ `${phoronix-test-suite}/bin/phoronix-test-suite version` != *"${version}"* ]]; then
13 echo "Error: program version does not match package version"
17 ${phoronix-test-suite}/bin/phoronix-test-suite dummy_module.dummy-command >/dev/null
18 # needed for Nix to register the command as successful