Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
38486eb0
Commit
38486eb0
authored
Aug 01, 2018
by
Gennadiy Civil
Browse files
googltest-color-test changes
parent
6324796b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
googletest/test/BUILD.bazel
googletest/test/BUILD.bazel
+5
-5
googletest/test/googletest-color-test.py
googletest/test/googletest-color-test.py
+2
-2
googletest/test/googletest-color-test_.cc
googletest/test/googletest-color-test_.cc
+0
-0
No files found.
googletest/test/BUILD.bazel
View file @
38486eb0
...
...
@@ -197,17 +197,17 @@ py_test(
)
cc_binary
(
name
=
"gtest
_
color
_
test_"
,
name
=
"g
oogle
test
-
color
-
test_"
,
testonly
=
1
,
srcs
=
[
"gtest
_
color
_
test_.cc"
],
srcs
=
[
"g
oogle
test
-
color
-
test_.cc"
],
deps
=
[
"//:gtest"
],
)
py_test
(
name
=
"gtest
_
color
_
test"
,
name
=
"g
oogle
test
-
color
-
test"
,
size
=
"small"
,
srcs
=
[
"gtest
_
color
_
test.py"
],
data
=
[
":gtest
_
color
_
test_"
],
srcs
=
[
"g
oogle
test
-
color
-
test.py"
],
data
=
[
":g
oogle
test
-
color
-
test_"
],
deps
=
[
":gtest_test_utils"
],
)
...
...
googletest/test/gtest
_
color
_
test.py
→
googletest/test/g
oogle
test
-
color
-
test.py
View file @
38486eb0
...
...
@@ -40,7 +40,7 @@ IS_WINDOWS = os.name == 'nt'
COLOR_ENV_VAR
=
'GTEST_COLOR'
COLOR_FLAG
=
'gtest_color'
COMMAND
=
gtest_test_utils
.
GetTestExecutablePath
(
'gtest
_
color
_
test_'
)
COMMAND
=
gtest_test_utils
.
GetTestExecutablePath
(
'g
oogle
test
-
color
-
test_'
)
def
SetEnvVar
(
env_var
,
value
):
...
...
@@ -53,7 +53,7 @@ def SetEnvVar(env_var, value):
def
UsesColor
(
term
,
color_env_var
,
color_flag
):
"""Runs gtest
_
color
_
test_ and returns its exit code."""
"""Runs g
oogle
test
-
color
-
test_ and returns its exit code."""
SetEnvVar
(
'TERM'
,
term
)
SetEnvVar
(
COLOR_ENV_VAR
,
color_env_var
)
...
...
googletest/test/gtest
_
color
_
test_.cc
→
googletest/test/g
oogle
test
-
color
-
test_.cc
View file @
38486eb0
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment