Updating README with instructions on running python tests from within Xcode.

This commit is contained in:
preston.a.jackson 2008-12-09 00:05:42 +00:00
parent 0fb58d70eb
commit 2051d2ccc7

13
README
View File

@ -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: