summaryrefslogtreecommitdiffstats
path: root/googlemock
diff options
context:
space:
mode:
authormisterg <misterg@google.com>2017-08-09 16:15:00 (GMT)
committermisterg <misterg@google.com>2017-08-09 16:15:00 (GMT)
commit4f5c01b4c96913e2d773b23ca5b81b92bdc29fd0 (patch)
tree754e6c20466d9aa931650cc520ba4852fc2ba46f /googlemock
parentac885f3ab2a50689f334d2bf3a53ead9312601dc (diff)
downloadgoogletest-4f5c01b4c96913e2d773b23ca5b81b92bdc29fd0.zip
googletest-4f5c01b4c96913e2d773b23ca5b81b92bdc29fd0.tar.gz
googletest-4f5c01b4c96913e2d773b23ca5b81b92bdc29fd0.tar.bz2
Added googlemock tests
Diffstat (limited to 'googlemock')
-rw-r--r--googlemock/test/BUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/googlemock/test/BUILD b/googlemock/test/BUILD
new file mode 100644
index 0000000..ae0a66e
--- /dev/null
+++ b/googlemock/test/BUILD
@@ -0,0 +1,29 @@
+# Copyright 2017 Google Inc. All Rights Reserved.
+# Author: misterg@google.com (Gennadiy Civil)
+#
+# Description:
+# Bazel BUILD file for googletest-googlemock, initial revision
+#
+
+""" gmock own tests """
+
+cc_test(
+ name = "gmock_all_test",
+ size = "small",
+ srcs = glob(
+ include = [
+ "gmock-*.cc",
+ ],
+ ),
+ copts = select({
+ "//:win": ["-DGTEST_USE_OWN_TR1_TUPLE=0"],
+ "//conditions:default": ["-DGTEST_USE_OWN_TR1_TUPLE=1"],
+ }),
+ linkopts = select({
+ "//:win": [],
+ "//conditions:default": [
+ "-pthread",
+ ],
+ }),
+ deps = ["//:gtest"],
+)