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
2051d2cc
Commit
2051d2cc
authored
Dec 09, 2008
by
preston.a.jackson
Browse files
Updating README with instructions on running python tests from within Xcode.
parent
0fb58d70
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
README
README
+7
-6
No files found.
README
View file @
2051d2cc
...
@@ -177,12 +177,13 @@ test has its own Xcode "Target" and Xcode "Executable". To build any of the
...
@@ -177,12 +177,13 @@ test has its own Xcode "Target" and Xcode "Executable". To build any of the
tests
,
change
the
active
target
and
the
active
executable
to
the
test
of
tests
,
change
the
active
target
and
the
active
executable
to
the
test
of
interest
and
then
build
and
run
.
interest
and
then
build
and
run
.
NOTE
:
Several
tests
use
a
Python
script
to
run
the
test
executable
.
They
require
NOTE
:
Several
tests
use
a
Python
script
to
run
the
test
executable
.
These
can
be
a
separate
custom
"Xcode Executable"
to
run
the
Python
script
within
Xcode
.
run
from
Xcode
by
creating
a
"Custom Executable"
.
For
example
,
to
run
the
Python
These
"Xcode Executables"
are
named
with
"run_"
prepended
to
the
test
name
.
script
which
executes
the
gtest_color_test
,
select
the
Project
->
New
Custom
Also
,
the
gtest_xml_outfiles_test
requres
two
executable
tests
to
be
built
.
Executable
...
menu
item
.
When
prompted
,
set
the
"Executable Name"
to
something
These
executables
are
built
in
separate
targets
with
a
trailing
underscore
in
like
"run_gtest_color_test"
and
set
the
"Executable Path"
to
the
path
of
the
the
name
.
gtest_color_test
.
py
script
.
Finally
,
choose
"Run"
from
the
Run
menu
and
check
the
Console
for
the
results
.
Individual
tests
can
be
built
from
the
command
line
using
:
Individual
tests
can
be
built
from
the
command
line
using
:
...
...
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