homebrew-core/Formula/phoronix-test-suite.rb
2017-06-30 02:20:25 -07:00

22 lines
866 B
Ruby

class PhoronixTestSuite < Formula
desc "Open-source automated testing/benchmarking software."
homepage "https://www.phoronix-test-suite.com/"
url "https://github.com/phoronix-test-suite/phoronix-test-suite/archive/v7.2.1.tar.gz"
sha256 "b235f2cfd2f4891a3aea83114d5766879303c3f95ae9b661eda7aa59cb17c381"
bottle do
cellar :any_skip_relocation
sha256 "a0342ec359f6be0bbfec1918f6e58684d66ef7fb05ed35e0f25bad527475fd30" => :sierra
sha256 "152a7ddddb515433d728f7d969c895da9b4c464518550d0ea6ba20755ea8f8c3" => :el_capitan
sha256 "152a7ddddb515433d728f7d969c895da9b4c464518550d0ea6ba20755ea8f8c3" => :yosemite
end
def install
system "./install-sh", prefix
bash_completion.install "./pts-core/static/bash_completion"
end
test do
assert_match "Trysil", shell_output("#{bin}/phoronix-test-suite version | grep -v ^$")
end
end