...
- Start console.
Add the following locations to your PATH:
Code Block <National_Instruments_installation_dir>\CVI2015 <National_Instruments_installation_dir>\CVI2015\bin <National_Instruments_installation_dir>\CVI2015\bin\clang\3.3
- Set the C/C++test install directory <INSTALL_DIR> on PATH.
- Navigate to the directory that contains your project (.prj file)
- Build the project with the following command:
compile.exe -rebuild project_name.prj
- Navigate to the new folder created:
cvibuild.project_name/<build_config>
Run the jam.exe utility (located in the
CVI2013/bin
directory of the National Instruments installation), wrapping the command with the cpptesttrace utility (shipped with C++test):Code Block cpptesttrace --cpptesttraceOutputFile=<project_name>.bdf --cpptesttraceProjectName=<project_name> jam.exe -a
Note | ||
---|---|---|
| ||
Specify the absolute path to the By default, the trace feature is configured to capture each toolchain executable name recognized by C++test through built-in compiler configurations. If the process' command-lines aren't scanned, specify the compiler and linker executable names by adding a
The |
Importing BDF file into C/C++test
Anchor | ||||
---|---|---|---|---|
|
- Start console (or reuse this for BDF generation).
- Set environment for the appropriate toolchain as described in the documentation (executables on PATH).
- Start C/C++test.
- Follow steps of importing the BDF file described in documentation (see Importing project using Build Data File with the GUI wizard).
- Confirm project settings correctness in Properties> Parasoft> C/C++test> Build Settings.
You must repeat the entire process following any changes to the original project unless you are adding new sources in existing source locations.