aboutsummaryrefslogtreecommitdiff
path: root/WORKSPACE
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2019-02-13 02:16:52 +0000
committerEnji Cooper <ngie@FreeBSD.org>2019-02-13 02:16:52 +0000
commit83481c8c5c0cd0b3fc86f39b2985efd4e300200a (patch)
tree784fc9b3c98d0e853336f1fb982fd243162c922c /WORKSPACE
downloadsrc-83481c8c5c0cd0b3fc86f39b2985efd4e300200a.tar.gz
src-83481c8c5c0cd0b3fc86f39b2985efd4e300200a.zip
Import GoogleTest 1.8.1 into the vendor tree under `^/google/googletest/dist`vendor/google/googletest/1.8.1
GoogleTest is a widely used opensource C++ test framework, licensed under a BSD 3-clause license. It fits best in the realm of doing functional/whitebox testing, similar to ATF's C++ library. However, it has additional functionality such as per-testcase setup fixtures, class level setup and teardown fixtures, and a lot more functional/syntactic goodness. In addition to large corporations adopting GoogleTest as their defacto C++ test library (Facebook, Google, etc), many opensource projects have adopted GoogleTest, e.g., the Capsicum project, Chrome, etc. The goal for importing this is to enable testing with zfsd and integrate googletest into kyua. This is the final version that will support a pre-C++-11 compiler. As such, this test framework will not be available to gcc 4.2.1, similar to ATF's C++ library. A subsequent set of commits will: 1. Tag ^/google/googletest/dist as ^/google/googletest/1.8.1 using `svn cp ^/google/googletest/dist ^/google/googletest/1.8.1`. 2. Import this code into ^/head and integrate it into the build for all applicable platforms and C++ compile toolchains. The import was done via the following command pipeline on OSX: ``` curl -L https://github.com/google/googletest/archive/release-1.8.1.tar.gz | tar --strip-components=1 -xvzf - -C dist/ ``` Approved by: emaste (mentor) Discussed with: brooks, jtl Differential Revision: https://reviews.freebsd.org/D18622
Notes
Notes: svn path=/vendor/google/googletest/dist/; revision=344078 svn path=/vendor/google/googletest/1.8.1/; revision=344079; tag=vendor/google/googletest/1.8.1
Diffstat (limited to 'WORKSPACE')
-rw-r--r--WORKSPACE8
1 files changed, 8 insertions, 0 deletions
diff --git a/WORKSPACE b/WORKSPACE
new file mode 100644
index 000000000000..1d5d3886238c
--- /dev/null
+++ b/WORKSPACE
@@ -0,0 +1,8 @@
+workspace(name = "com_google_googletest")
+
+# Abseil
+http_archive(
+ name = "com_google_absl",
+ urls = ["https://github.com/abseil/abseil-cpp/archive/master.zip"],
+ strip_prefix = "abseil-cpp-master",
+)