CLion 2020.1 Help

Run/Debug Configuration: Boost.Test

Run | Edit Configurations | Add New Configuration | %configuration_name%

Use this page to configure run/debug options for the Boost.Test framework.


When you edit a run configuration (but not a run configuration template), you can specify the following options:




Specify a name for the run/debug configuration to quickly identify it when editing or running the configuration, for example, from the Run popup Alt+Shift+F10.

Allow parallel run

Select to allow running multiple instances of this run configuration in parallel.

By default, it is disabled, and when you start this configuration while another instance is still running, CLion suggests to stop the running instance and start another one. This is helpful when a run/debug configuration consumes a lot of resources and there is no good reason to run multiple instances.

Store as project file

Save the file with the run configuration settings to share it with other team members. The default location is .idea/runConfigurations. However, if you do not want to share the .idea directory, you can save the configuration to any other directory within the project.

By default, it is disabled, and CLion stores run configuration settings in .idea/workspace.xml.

Configuration tab


Choose the desired target from the list.

Target types are marked with the following icons:

All targets - All targets

Executable - Executable

Target library - Library

Test kind
  • Select the Suite/Test option to run a particular or all the tests of a suite.

  • Select Pattern option to run all the tests matching a particular pattern.

Suite In this field, specify the name of a suite. This option is available only when the Suite/Test option is selected.
Test From this drop down list, select the desired test. This option is available only when the Suite/Test option is selected.
Pattern In this field, specify the pattern name. This option is available only when the Pattern option is selected.
Program arguments

In this field, type a list of arguments to be passed to the program in the format you would use in the command line. If necessary, click the the Expand button button and type the desired arguments.

Working directory

Specify the working directory to be used for running the application. This directory is the starting point for all relative input and output paths. By default, the field contains the directory where the project file resides. To specify another directory, click the Browse button and select the directory.

Environment variables

Create environment variables and specify their values.

For multiple variables, use semicolon as a delimiter or click icons.vcs.changelist_dark.png to enter them in a dedicated dialog:

adding environment variables

Select the Include system environment variables checkbox if you want the custom values to be appended to the system ones. Clear this checkbox to allow overwriting system values. For more detail, see CMake environment.

Last modified: 03 June 2020