Merge pull request #75117 from davidak/phoronix-test-suite-tests

phoronix-test-suite: add tests
This commit is contained in:
Rok Garbas
2020-04-24 22:21:39 +02:00
committed by GitHub
2 changed files with 25 additions and 1 deletions
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, php, which, gnused, makeWrapper, gnumake, gcc }:
{ stdenv, fetchurl, php, which, gnused, makeWrapper, gnumake, gcc, callPackage }:
stdenv.mkDerivation rec {
pname = "phoronix-test-suite";
@@ -19,6 +19,10 @@ stdenv.mkDerivation rec {
--prefix PATH : ${stdenv.lib.makeBinPath [ gnumake gcc ]}
'';
passthru.tests = {
simple-execution = callPackage ./tests.nix { };
};
meta = with stdenv.lib; {
description = "Open-Source, Automated Benchmarking";
homepage = "https://www.phoronix-test-suite.com/";