C++test Version 6.7.7.2 (Jan 16 2007)
Copyright (C) 1998-2007 by ParaSoft Corporation
usage: cpptest [cpptest_options] [compiler_options] file...
cpptest_options:
-Zicpf
file: C++test project for testing
(ignores all additional files and
options)
-Zocpf
file: output C++test project
-Zdsp
testing (ignores all additional
files and options)
-Zvcproj
testing (ignores all additional
files and options)
-Zdc
for specified DSP/VCPROJ file
-Zgpj
testing (ignores all additional
files and options)
-Zmcl , --Zmake_command_line
param: command line to be used to
extract files and options,
compiler/linker executables should be
replaced with ${CPPTEST_SCAN} variable
(ie: "make CXX=\${CPPTEST_SCAN} all");
creates a new project based on
extracted files and options;
-Ztf
to test
-Zeh
to export harness for, if empty
then harness is exported for
all files from the project
-Zrl
to read logs for, if empty
then logs are read for
all files from the project
-Ztc
to be used for current run
-Zpc
to be used in current project
-Zso
adds the source file(s) and options
specified in the command-line
to the project;
creates the project if it does not
exist,else updates the existing one
-Zitc
allows specifying external test
cases file to use during unit
testing
file: test cases file or location
where .tcr files are stored
-Zito
allows specifying external test
objects file to use during unit
testing
file: test objects file or location
where .tor files are stored
-Zis
import Coding Standards
Suppressions into project,
file: suppressions file
-Zrf
-Zgh
report generation
-Zhrd
dir: location of HTML report
-Zgx, --Zgenerate_xml generate XML report
-Zxrd
dir: location of XML report
-Zpr, --Zpublish_results publish Coding Standards results
on TCM
-Zf, --Zforce force output project overwriting
if exist
-Zow {on
off}, --Zoverwrite {on
off} turning on/off report_file over-
writing (default is on)
-Zoe [quiet], --Zonly_errors [quiet] report only errors
(quiet - suppresses success
message on no errors/violations)
-Zq, --Zquiet do not generate test results
-Zvm
(0 disables verbose messages)
(default is 0)
-Zgrs {on
off}, --Zgrs {on
off} enable/disable GRS reporting
-Zga
name: must have form key=value
-Zcs, --Zcompile_source compile original user source
-Zrs, --Zreread_symbols enforce symbols re-reading
(for Unit Testing only)
-Zlc , --Zlist_config lists available configurations
param: PROJECT, TEST, HTML
-Zecf, --Zexpand_command_files Expand all options contained in
supplied command files
(aka response files)
into the command line.
This option is recommended
with -Zso.
-Znt --Zno_tests do not perform any tests
-h, --help this help
-V, --version version information
No comments:
Post a Comment