summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore5
-rw-r--r--BUILD.bazel16
2 files changed, 13 insertions, 8 deletions
diff --git a/.gitignore b/.gitignore
index 6c1b18f..da68162 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,8 @@ build/
xcuserdata
cmake-build-debug/
.idea/
+bazel-bin
+bazel-genfiles
+bazel-googletest
+bazel-out
+bazel-testlogs
diff --git a/BUILD.bazel b/BUILD.bazel
index 50a6aca..aa53a13 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -86,7 +86,7 @@ cc_library(
deps = [":gmock"],
)
-"""googletest own tests """
+"""gtest own tests """
#on windows exclude gtest-tuple.h and gtest-tuple_test.cc
filegroup(
@@ -211,7 +211,7 @@ cc_test(
""" googletest samples"""
cc_library(
- name = "googletest_sample_lib",
+ name = "gtest_sample_lib",
srcs = [
"googletest/samples/sample1.cc",
"googletest/samples/sample2.cc",
@@ -228,7 +228,7 @@ cc_library(
)
cc_test(
- name = "googletest_samples",
+ name = "gtest_samples",
size = "small",
srcs = glob(
include = [
@@ -252,7 +252,7 @@ cc_test(
"googletest/samples",
],
deps = [
- ":googletest_sample_lib",
+ ":gtest_sample_lib",
":gtest_main",
],
)
@@ -260,7 +260,7 @@ cc_test(
""" googletest samples 9 and 10 have their own main()"""
cc_test(
- name = "googletest_sample9",
+ name = "gtest_sample9",
size = "small",
srcs = glob(
include = [
@@ -271,12 +271,12 @@ cc_test(
"googletest/samples",
],
deps = [
- ":gtest",
+ ":gtest_main",
],
)
cc_test(
- name = "googletest_sample10",
+ name = "gtest_sample10",
size = "small",
srcs = glob(
include = [
@@ -287,6 +287,6 @@ cc_test(
"googletest/samples",
],
deps = [
- ":gtest",
+ ":gtest_main",
],
)