5ee5e7b67a
- Upgrade cpputest to version 3.1 - Add a fails with clang because it uses -lgcov Closes Homebrew/homebrew#14739. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
18 lines
439 B
Ruby
18 lines
439 B
Ruby
require 'formula'
|
|
|
|
class Cpputest < Formula
|
|
homepage 'http://www.cpputest.org/'
|
|
url 'http://sourceforge.net/projects/cpputest/files/cpputest/v3.1/CppUTest-v3.1.zip'
|
|
sha1 '8ff6b764a9ca6202582ae0c94545f56b921f39d5'
|
|
|
|
fails_with :clang do
|
|
build 421
|
|
cause 'Uses -lgcov which only comes with llvm or gcc'
|
|
end
|
|
|
|
def install
|
|
system "make"
|
|
lib.install 'lib/libCppUTest.a'
|
|
include.install 'include/CppUTest'
|
|
end
|
|
end
|