Commit 2051d2cc by preston.a.jackson

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

parent 0fb58d70
...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment