Opened 14 years ago
Closed 14 years ago
#2059 closed Feature Requests (fixed)
Add a test formatter for Xcode
Reported by: | Daryle Walker | Owned by: | Gennadiy Rozental |
---|---|---|---|
Milestone: | Boost 1.37.0 | Component: | test |
Version: | Boost 1.35.0 | Severity: | Optimization |
Keywords: | test formatter xcode | Cc: |
Description
If there's a formatter to print errors like Xcode uses, then a script could call a unit test with this formatter during the build stage and any problems can be traced to the problematic line in the Xcode IDE. This idea came from Richard Dingwall's blog entry "Using the Boost Unit Test Framework with Xcode 3."
Maybe it could be a default for Xcode systems, although that would break backwards compatibility. I think __APPLE_CC__
is defined in the preprocessor when Xcode (or at least Apple's custom GCC) is used.
I recently made an example to see if it worked and for my own testing.
Example diff of the changes required