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.

Attachments (1)

new_formatter.diff (754 bytes ) - added by Daryle Walker 14 years ago.
Example diff of the changes required

Download all attachments as: .zip

Change History (2)

by Daryle Walker, 14 years ago

Attachment: new_formatter.diff added

Example diff of the changes required

comment:1 by Gennadiy Rozental, 14 years ago

Resolution: fixed
Status: newclosed

applied in 48775

Note: See TracTickets for help on using tickets.