Opened 11 years ago

Closed 10 years ago

#6235 closed Feature Requests (fixed)

add --dry_run as command line argument to the test executable

Reported by: Marvin Sielenkemper <m.sielenkemper@…> Owned by: Gennadiy Rozental
Milestone: To Be Determined Component: test
Version: Boost 1.47.0 Severity: Not Applicable
Keywords: Cc:

Description

Sometimes it is nice to get the list of tests without actually executing them, e.g. to integrate the compiled executable in Gallio.
Many *nix tools provide this with a command line argument "--dry_run" and/or "-n". I have added this in my local boost and can now get a nicely parse-able test list with

test.exe -r detailed -m XML -e stdout -n

Attachments (1)

dry_run.patch (3.3 KB ) - added by Marvin Sielenkemper <m.sielenkemper@…> 11 years ago.

Download all attachments as: .zip

Change History (2)

by Marvin Sielenkemper <m.sielenkemper@…>, 11 years ago

Attachment: dry_run.patch added

comment:1 by Gennadiy Rozental, 10 years ago

Resolution: fixed
Status: newclosed

I now have an option --list_content for that.

Note: See TracTickets for help on using tickets.