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
d4e57d12
Commit
d4e57d12
authored
Nov 21, 2008
by
preston.a.jackson
Browse files
updating the README (intended for previous ci)
parent
3e936063
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
11 deletions
+9
-11
README
README
+9
-11
No files found.
README
View file @
d4e57d12
...
@@ -177,16 +177,12 @@ test has its own Xcode "Target" and Xcode "Executable". To build any of the
...
@@ -177,16 +177,12 @@ 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
:
many
of
the
tests
are
executed
from
Python
scripts
.
These
tests
are
NOTE
:
Several
tests
use
a
Python
script
to
run
the
test
executable
.
They
require
indicated
by
a
trailing
underscore
"_"
in
the
test
name
.
These
tests
should
not
a
separate
custom
"Xcode Executable"
to
run
the
Python
script
within
Xcode
.
be
executed
directly
.
Instead
a
custom
Xcode
"Executable"
was
created
to
run
the
These
"Xcode Executables"
are
named
with
"run_"
prepended
to
the
test
name
.
Python
script
from
within
Xcode
.
These
custom
executables
do
not
have
the
Also
,
the
gtest_xml_outfiles_test
requres
two
executable
tests
to
be
built
.
trailing
underscore
in
the
name
.
For
example
,
to
run
the
gtest_color_test
,
set
These
executables
are
built
in
separate
targets
with
a
trailing
underscore
in
the
active
target
to
"gtest_color_test_"
(
with
a
trailing
underscore
).
This
the
name
.
target
will
build
the
gtest_color_test_
,
which
should
not
be
run
directly
.
Then
set
the
active
executable
to
"gtest_color_test"
(
no
trailing
underscore
).
This
executable
will
execute
the
gtest_color_test_
from
within
the
gtest_color_test
.
py
script
).
Individual
tests
can
be
built
from
the
command
line
using
:
Individual
tests
can
be
built
from
the
command
line
using
:
...
@@ -196,7 +192,9 @@ These tests can be executed from the command line by moving to the build
...
@@ -196,7 +192,9 @@ These tests can be executed from the command line by moving to the build
directory
and
then
(
in
bash
)
directory
and
then
(
in
bash
)
$
export
DYLD_FRAMEWORK_PATH
=`
pwd
`
$
export
DYLD_FRAMEWORK_PATH
=`
pwd
`
$
./<
test_name
>
#
(
e
.
g
.
./
gtest_unittest
or
./
gtest_color_test
.
py
)
$
./<
test_name
>
#
(
if
it
is
not
a
python
test
,
e
.
g
.
./
gtest_unittest
)
OR
$
./<
test_name
>.
py
#
(
if
it
is
a
python
test
,
e
.
g
.
./
gtest_color_test
.
py
)
To
use
the
gtest
.
framework
for
your
own
tests
,
first
,
add
the
framework
to
Xcode
To
use
the
gtest
.
framework
for
your
own
tests
,
first
,
add
the
framework
to
Xcode
project
.
Next
,
create
a
new
executable
target
and
add
the
framework
to
the
project
.
Next
,
create
a
new
executable
target
and
add
the
framework
to
the
...
...
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