This manual page is part of Xcode Tools version 3.2.2

To obtain these tools:

If you are running a version of Xcode Tools other than 3.2.2, view the documentation locally:

  • In Xcode

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



CPlusTestRig(1)                          BSD General Commands Manual                         CPlusTestRig(1)

NAME
     CPlusTestRig -- runs CPlusTest unit test bundles

SYNOPSIS
     CPlusTestRig [-test testname] testbundle

DESCRIPTION
     CPlusTestRig loads and runs the bundle testbundle containing unit tests built with the CPlusTest frame-work framework
     work (/System/Library/Frameworks/CPlusTest.framework).  If one or more [-test testname] pairs is speci-fied specified
     fied only those tests (TestCase and TestSuite instances) in testbundle are run.  If no such pairs are
     specified, all TestCase and TestSuite instances are run as part of the default "All" test suite.

     CPlusTestRig is intended for testing frameworks and libraries.  That is, it must be possible for
     CPlusTestRig to load testbundle into its own address space.  To test applications, use RunUnitTests(1)
     instead.

     To test a framework or library in a location other than the one recorded in testbundle at link time,
     use dyld(1) environment variables such as DYLD_FRAMEWORK_PATH and DYLD_LIBRARY_PATH to ensure that the
     nonstandard location is searched.

ENVIRONMENT
     CPlusTestDelayExit  If this environment variable is present, CPlusTestRig will print its process ID to
                         standard output and delay exit indefinitely upon completion.  This is useful for
                         running leaks(1) or other debugging tools.

FILES
     /Developer/Tools/CPlusTestRig
     /System/Library/Frameworks/CPlusTest.framework

SEE ALSO
     dyld(1), leaks(1), RunUnitTests(1)

Mac OS X                                        May 12, 2010                                        Mac OS X

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...