Port details |
- googletest Framework for writing C++ tests on a variety of platforms
- 1.15.2 devel =4 1.15.2Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2008-10-14 08:01:31
- Last Update: 2024-10-29 14:38:29
- Commit Hash: 732864a3
- People watching this port, also watch:: libevent, indexinfo, xcb-util-image, libXdamage, py311-configargparse
- License: BSD3CLAUSE
- WWW:
- https://google.github.io/googletest/
- https://github.com/google/googletest
- Description:
- GoogleTest is based on the xUnit architecture. Supports automatic test
discovery, a rich set of assertions, user-defined assertions, death
tests, fatal and non-fatal failures, type-parameterized tests, various
options for running the tests, and XML test report generation.
GoogleMock is inspired by jMock, EasyMock, and Hamcrest, and designed
with C++'s specifics in mind, Google C++ Mocking Framework (or Google
Mock for short) is a library for writing and using C++ mock
classes. Google Mock:
* lets you create mock classes trivially using simple macros,
* supports a rich set of matchers and actions,
* handles unordered, partially ordered, or completely ordered expectations,
* is extensible by users, and
* works on Linux, Windows, and Mac OS X.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- googletest>0:devel/googletest
- To install the port:
- cd /usr/ports/devel/googletest/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/googletest
- pkg install googletest
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: googletest
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1724084506
SHA256 (googletest-1.15.2.tar.gz) = 7b42b4d6ed48810c5362c265a17faebe90dc2373c885e5216439d37927f02926
SIZE (googletest-1.15.2.tar.gz) = 872667
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- Test dependencies:
-
- python3.11 : lang/python311
- This port is required by:
- for Build
-
- audio/mixxx
- cad/freecad
- cad/surelog
- databases/rocksdb-jni
- devel/apache-orc
- devel/libphonenumber
- devel/libzim
-
Deleted ports which required this port:
- for Libraries
-
- astro/phd2
- benchmarks/apib
- databases/arrow
- devel/android-tools
- devel/ayatana-ido
- devel/libayatana-indicator
- devel/opentelemetry-cpp
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- devel_googletest
- USES:
- cmake:testing compiler:c++17-lang pathfix python:test
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.15.2 29 Oct 2024 14:38:29 |
Po-Chuan Hsieh (sunpoet) |
devel/googletest: Cosmetic change |
1.15.2 05 Sep 2024 06:17:43 |
Po-Chuan Hsieh (sunpoet) |
devel/googletest: Update to 1.15.2
Changes: https://github.com/google/googletest/releases |
1.15.0 21 Jul 2024 12:22:34 |
Po-Chuan Hsieh (sunpoet) |
devel/googletest: Use C++17 explicitly
Do not bump PORTREVISION because Clang 16+ already uses C++17 by default.
The resulting shared libraries are identical. |
1.15.0 16 Jul 2024 18:36:15 |
Po-Chuan Hsieh (sunpoet) |
devel/googletest: Update to 1.15.0
- Update MASTER_SITES: use upstream release tarball
- Use USES=pathfix to fix .pc installation
- Bump PORTREVISION of dependent ports for shlib change
Changes: https://github.com/google/googletest/releases |
1.14.0 13 Jul 2024 23:01:30 |
Po-Chuan Hsieh (sunpoet) |
devel/googletest: Cosmetic change |
1.14.0 16 Aug 2023 18:25:09 |
Po-Chuan Hsieh (sunpoet) |
devel/googletest: Update to 1.14.0
- Bump PORTREVISION of dependent ports for shlib change
Changes: https://github.com/google/googletest/releases |
1.13.0 07 May 2023 21:13:13 |
Po-Chuan Hsieh (sunpoet) |
devel/googletest: Remove duplicate USE_CXXSTD=c++14 |
1.13.0 07 May 2023 16:03:09 |
Po-Chuan Hsieh (sunpoet) |
devel/googletest: Use C++14
- Update WWW
- Use complete arguments/options
- Take maintainership
from Release Notes:
GoogleTest now requires at least C++14.
Reference: https://github.com/google/googletest/releases/tag/v1.13.0 |
1.13.0 04 May 2023 04:15:50 |
Jan Beich (jbeich) |
devel/googletest: drop maintainership |
1.13.0 04 May 2023 04:15:49 |
Jan Beich (jbeich) |
devel/googletest: update to 1.13.0
Changes: https://github.com/google/googletest/releases/tag/v1.13.0
Reported by: GitHub (watch releases) |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.12.1 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.12.1 20 Jul 2022 14:21:35 |
Tobias C. Berner (tcberner) |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
1.12.1 30 Jun 2022 15:27:20 |
Jan Beich (jbeich) |
devel/googletest: update to 1.12.1
Changes: https://github.com/google/googletest/releases/tag/release-1.12.1
Reported by: GitHub (watch releases) |
1.12.0 25 Jun 2022 19:31:14 |
Jan Beich (jbeich) |
devel/googletest: update to 1.12.0
Changes: https://github.com/google/googletest/releases/tag/release-1.12.0
Reported by: GitHub (watch releases) |
1.11.0 12 Jun 2021 03:25:45 |
Jan Beich (jbeich) |
devel/googletest: update to 1.11.0
Changes: https://github.com/google/googletest/compare/53495a2a...release-1.11.0
Changes: https://github.com/google/googletest/releases/tag/release-1.11.0
Reported by: GitHub (watch releases) |
1.10.0.667 03 Jun 2021 15:04:43 |
Jan Beich (jbeich) |
devel/googletest: update to 1.10.0.667
Upstream no longer makes releases, see
https://github.com/google/googletest/commit/861d535e2595
Changes: https://github.com/google/googletest/compare/release-1.10.0...53495a2a
Reported by: ngie (1 year ago) |
1.10.0_1 18 May 2021 00:47:14 |
Jan Beich (jbeich) |
devel/googletest: convert TEST option to USES=cmake:testing |
1.10.0_1 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
1.10.0_1 19 Dec 2019 03:41:39 |
jbeich |
devel/googletest: merge googlemock
Avoid micromanaging installed files to simplify maintenance.
Already done upstream since 1.8.0. Other distributions (e.g.,
Arch, PkgSrc) have followed. |
1.10.0 05 Oct 2019 00:42:21 |
jbeich |
devel/google{test,mock}: update to 1.10.0
- Drop static library
- Drop gtest-config and gmock-config
- Drop GTEST_LIB_CHECK autoconf macro
- Drop gmock_doctory.py as it's too old
- Expose tests via option
Changes: https://github.com/google/googletest/compare/release-1.8.1...release-1.10.0
Reported by: GitHub (watch releases)
PR: 239654
Differential Revision: https://reviews.freebsd.org/D19430 |
1.8.1_3 26 Jul 2019 20:46:57 |
gerald |
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330 |
1.8.1_2 04 Mar 2019 21:51:53 |
ngie |
devel/googletest: require libpthread
As noted by @asomers in rS300906 (`cddl/usr.sbin/zfsd/tests/Makefile`
specifically), googletest requires libpthread in order to function, if
`-DGTEST_HAS_PTHREAD` is defined.
While this is true, the code was not being linked against libpthread,
resulting in libgtest being broken, and thus all tests reliant on the library
broken at runtime.
Adding `LIBS+= -lpthread` unbreaks the tests that use pthread support
internally.
PR: 236169
Reviewed by: jbeich
Approved by: jbeich (maintainer)
Differential Revision: https://reviews.freebsd.org/D19463 |
1.8.1_1 01 Jan 2019 20:20:25 |
jbeich |
devel/googletest: drop GCC 4.2 hack after r480987/r480989 |
1.8.1_1 12 Dec 2018 01:35:36 |
gerald |
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590 |
1.8.1 01 Oct 2018 00:31:09 |
jbeich |
devel/googletest: oops, builds fine with clang++ -stdlib=libstdc++ -std=gnu++03
FreeBSD 9.x defaulted to GCC 4.2 but could use Clang, so c++11-lang
used Clang while c++11-lib use lang/gcc* bun nowadays the difference
no longer exists. While testing previous change I forgot to account
that newer Clang versions have switched to C++14 by default while
libstdc++ 4.2 doesn't support C++11 or newer.
PR: 231835 |
1.8.1 01 Oct 2018 00:13:16 |
jbeich |
devel/googletest: unbreak on GCC architectures after r478607
In file included from ./include/gtest/gtest.h:59,
from src/gtest_main.cc:31:
./include/gtest/internal/gtest-internal.h:657: error: expected ',' or '...'
before '>' token
./include/gtest/internal/gtest-internal.h:657: error: parse error in template
argument list
./include/gtest/internal/gtest-internal.h:657: error: default argument missing
for parameter 7 of 'static bool
testing::internal::TypeParameterizedTest<Fixture, TestSel,
Types>::Register(const char*, const testing::internal::CodeLocation&, const
char*, const char*, int, const std::vector<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > > >&, Types)'
In file included from src/gtest_main.cc:31:
In file included from ./include/gtest/gtest.h:59:
./include/gtest/internal/gtest-internal.h:947:44: error: no member named
'declval' in namespace 'std'
class Iterator = decltype(::std::declval<const C&>().begin()),
~~~~~~~^
./include/gtest/internal/gtest-internal.h:947:52: error: expected expression
class Iterator = decltype(::std::declval<const C&>().begin()), (Only the first 15 lines of the commit message are shown above ) |
1.8.1 31 Aug 2018 20:14:40 |
jbeich |
devel/google{test,mock}: update to 1.8.1
Changes: https://github.com/google/googletest/compare/9bda90b...release-1.8.1 |
1.8.0.712 09 Mar 2018 12:07:37 |
jbeich |
devel/google{test,mock}: update to 1.8.0.712
Changes: https://github.com/google/googletest/compare/5490beb...9bda90b |
1.8.0.450 27 Dec 2017 19:47:20 |
jbeich |
devel/google{test,mock}: update to 1.8.0.450
Changes: https://github.com/google/googletest/compare/f1a87d7...5490beb |
1.8.0.358 25 Sep 2017 00:51:02 |
jbeich |
devel/google{test,mock}: update to 1.8.0.358
Changes: https://github.com/google/googletest/compare/59c795c...f1a87d7 |
1.8.0.50 18 May 2017 23:22:00 |
jbeich |
devel/google{test,mock}: update to 1.8.0.50
Changes: https://github.com/google/googletest/compare/a2b8a8e...59c795c |
1.8.0.11 15 Nov 2016 01:41:12 |
jbeich |
devel/google{test,mock}: update to 1.8.0.11
Changes: https://github.com/google/googletest/compare/release-1.7.0...a2b8a8e |
1.7.0 03 Oct 2015 01:31:59 |
jbeich |
devel/google{test,mock}: simplify and modernize
- Convert to the new testing framework
- Add upstream fix for gmock_doctor.py to work with python3, so
keep existing |/usr/bin/env python| shebang
- Drop fused-src tests as the ports don't install source files
- No need to shebangfix files we don't install
- Provide LICENSE_FILE as there's none under Templates/Licenses/
- Sort declarations by the order they're run (ldconfig is last)
- Silence post-patch commands [1]
PR: 203514
Submitted by: amdmi3 [1]
Reviewed by: amdmi3 (previous version) |
1.7.0 25 Aug 2015 07:10:18 |
jbeich |
devel/google{test,mock}: chase new home
https://code.google.com/p/support/wiki/ReadOnlyTransition |
1.7.0 20 Jan 2015 22:03:56 |
jbeich |
Per convention change my address to @FreeBSD.org
Differential Revision: https://reviews.freebsd.org/D1565
Approved by: bapt (mentor) |
1.7.0 25 Nov 2014 17:38:10 |
marino |
devel/googlemock, devel/googletest: Upgrade version 1.5 => 1.7
As part of the upgrade process:
- copy shebangfix and regression-test from googletest to googlemock
- convert regression-test to TEST option for better integration with
poudriere and visibility for users
- make sure configure detects python2 to follow shebangfix
- add LICENSE=BSD3CLAUSE (idea from comment 0)
- strip libs per stage-qa
- enable pthreads by default in devel/googletest
- enable death tests in devel/googletest
- enable socket streaming in devel/googletest
- implement GetThreadCount for death tests in devel/googletest
- disable streaming tests that fail with old gcc on 9.x in googletest
- depend on googletest in googlemock as -lgmock fails otherwise [1]
- pass maintainership to the persistent submitter [2]
PR: 187562
PR: 192736 [2]
PR: 192042 [1]
Approved by: maintainer timeout (~8 months)
Submitted by: rakuco [1]
Submitted by: Jan Beich <jbeich@vfemail.net> [2] |
1.5.0_1 27 Oct 2014 10:10:59 |
bapt |
Cleanup plist |
1.5.0_1 20 Oct 2014 16:04:14 |
mva |
- Convert ports of devel/ to USES=python
Approved by: portmgr (implicit) |
1.5.0_1 18 Aug 2014 12:46:22 |
sunpoet |
- Add LICENSE
- Remove contiguous blank lines |
1.5.0_1 16 Jun 2014 22:21:25 |
amdmi3 |
- Switch to USES=libtool, drop .la files
Approved by: portmgr blanket |
1.5.0 10 Jun 2014 07:39:02 |
olgeni |
Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. Categories D-F.
CR: D196
Approved by: portmgr (bapt) |
1.5.0 08 Dec 2013 13:24:03 |
mva |
- Fix the usage of 'python' to get rid of the implicit lang/python
dependency
Approved by: portmgr (blanket) |
1.5.0 07 Nov 2013 02:52:10 |
clsung |
convert to STAGE |
1.5.0 30 Sep 2013 21:37:17 |
marino |
devel/googletest: add <unistd.h> for modern compilers
Approved by: portmgr (bapt, implicit) |
1.5.0 20 Sep 2013 17:04:44 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 2) |
1.5.0 09 Nov 2011 15:26:04 |
miwi |
- Remove WITH_FBSD10_FIX, is no longer needed |
1.5.0 29 Oct 2011 08:45:31 |
miwi |
- Fix build on FreeBSD 10 |
1.5.0 03 Jul 2011 14:59:23 |
ohauer |
-remove MD5 |
1.5.0 08 Jun 2010 08:55:50 |
clsung |
- Update to 1.5.0
PR: ports/146903
Submitted by: Yi-Huan Chan <yhchan_AT_csie dot nctu dot edu dot tw> |
1.4.0 17 Nov 2009 07:23:19 |
clsung |
- Update to 1.4.0 |
1.3.0 12 Jun 2009 08:18:20 |
clsung |
- Update to 1.3.0 |
1.2.1 12 Dec 2008 03:55:24 |
clsung |
- Update to 1.2.1 |
1.2.0 12 Dec 2008 02:44:02 |
clsung |
- Update to 1.2.0 |
1.1.0 14 Oct 2008 08:01:13 |
clsung |
Google's framework for writing C++ tests on a variety of platforms
(Linux, Mac OS X, Windows, Cygwin, Windows CE, and Symbian).
Based on the xUnit architecture. Supports automatic test discovery,
a rich set of assertions, user-defined assertions, death tests,
fatal and non-fatal failures, type-parameterized tests, various options
for running the tests, and XML test report generation. |