summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorpreston.a.jackson <preston.a.jackson@861a406c-534a-0410-8894-cb66d6ee9925>2008-11-21 22:19:28 +0000
committerpreston.a.jackson <preston.a.jackson@861a406c-534a-0410-8894-cb66d6ee9925>2008-11-21 22:19:28 +0000
commit73900c2ce2fc93cb82f65a851112028374c450ef (patch)
tree6aa92e11a98129dad4b08884d7ab820d7d05d24f /README
parentca30886338c0d534822a0aa8d8b4dd188210e84f (diff)
downloadgtest-73900c2ce2fc93cb82f65a851112028374c450ef.tar.gz
gtest-73900c2ce2fc93cb82f65a851112028374c450ef.tar.bz2
gtest-73900c2ce2fc93cb82f65a851112028374c450ef.tar.xz
updating the README (intended for previous ci)
git-svn-id: http://googletest.googlecode.com/svn/trunk@134 861a406c-534a-0410-8894-cb66d6ee9925
Diffstat (limited to 'README')
-rw-r--r--README20
1 files changed, 9 insertions, 11 deletions
diff --git a/README b/README
index 9cf673c..e34a026 100644
--- a/README
+++ b/README
@@ -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
interest and then build and run.
-NOTE: many of the tests are executed from Python scripts. These tests are
-indicated by a trailing underscore "_" in the test name. These tests should not
-be executed directly. Instead a custom Xcode "Executable" was created to run the
-Python script from within Xcode. These custom executables do not have the
-trailing underscore in the name. For example, to run the gtest_color_test, set
-the active target to "gtest_color_test_" (with a trailing underscore). This
-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).
+NOTE: Several tests use a Python script to run the test executable. They require
+a separate custom "Xcode Executable" to run the Python script within Xcode.
+These "Xcode Executables" are named with "run_" prepended to the test name.
+Also, the gtest_xml_outfiles_test requres two executable tests to be built.
+These executables are built in separate targets with a trailing underscore in
+the name.
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
directory and then (in bash)
$ 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
project. Next, create a new executable target and add the framework to the