Skip to content

Commit

Permalink
Release 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fredericbonnet committed Jul 28, 2020
1 parent 8fd219e commit c97e7f9
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 6 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.9.0] - 2020-07-28

### Added

- Add parallel tests execution
- Add parallel tests execution (thanks @macdems!)

## [0.8.0] - 2020-07-14

Expand Down Expand Up @@ -73,7 +75,8 @@ Thanks to @andrewbridge for these contributions!

- First release.

[unreleased]: https://github.com/fredericbonnet/cmake-test-explorer/compare/v0.8.0...HEAD
[unreleased]: https://github.com/fredericbonnet/cmake-test-explorer/compare/v0.9.0...HEAD
[0.9.0]: https://github.com/fredericbonnet/cmake-test-explorer/compare/v0.8.0...v0.9.0
[0.8.0]: https://github.com/fredericbonnet/cmake-test-explorer/compare/v0.7.0...v0.8.0
[0.7.0]: https://github.com/fredericbonnet/cmake-test-explorer/compare/v0.6.0...v0.7.0
[0.6.0]: https://github.com/fredericbonnet/cmake-test-explorer/compare/v0.5.0...v0.6.0
Expand Down
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Run your [CMake](https://cmake.org) tests using the [Test Explorer UI](https://m
| `cmakeExplorer.buildConfig` | Name of the CMake build configuration. Can be set to any standard or custom configuration name (e.g. `Default`, `Release`, `RelWithDebInfo`, `MinSizeRel` ). Case-insensitive. Defaults to empty, i.e. no specific configuration. |
| `cmakeExplorer.cmakeIntegration` | Integrate with the [CMake Tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cmake-tools) extension for additional variables. See [Variable substitution](#variable-substitution) for more info. |
| `cmakeExplorer.debugConfig` | Custom debug configuration to use (empty for default). See [Debugging](#debugging) for more info. |
| `cmakeExplorer.parallelJobs` | Maximum number of parallel test jobs to run (zero=autodetect, 1 or negative=disable). Defaults to zero. See [Parallel test jobs](#parallel-test-jobs) for more info. |
| `cmakeExplorer.extraCtestLoadArgs` | Extra command-line arguments passed to CTest at load time. For example, `-R foo` will only load the tests containing the string `foo`. Defaults to empty. |
| `cmakeExplorer.extraCtestRunArgs` | Extra command-line arguments passed to CTest at run time. For example, `-V` will enable verbose output from tests. Defaults to empty. |

Expand Down Expand Up @@ -104,3 +105,20 @@ to "`myCustomDebugConfig`" :
}
}
```

## Parallel test jobs

The extension can run test jobs in parallel. The maximum number of jobs to run
is the first non-zero value in the following order:

- The `cmakeExplorer.parallelJobs` settings (see [Configuration](#configuration))
- The `cmake.ctest.parallelJobs` then `cmake.parallelJobs` settings if the
[CMake Tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cmake-tools)
extension is installed
- The number of processors on the machine

A negative value will disable parallel execution.

Note that job scheduling is performed by the extension itself and not by CTest
(e.g. using the `CTEST_PARALLEL_LEVEL` environment variable or the
`-j|--parallel` command-line option).
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
"author": "Frédéric Bonnet <fredericbonnet@free.fr>",
"contributors": [
"Frédéric Bonnet <fredericbonnet@free.fr>",
"Andrew Bridge (https://github.com/andrewbridge)"
"Andrew Bridge (https://github.com/andrewbridge)",
"Maciej Dems (https://github.com/macdems)"
],
"publisher": "fredericbonnet",
"version": "0.8.0",
"version": "0.9.0",
"license": "BSD-3-Clause",
"homepage": "https://github.com/fredericbonnet/cmake-test-explorer",
"repository": {
Expand Down Expand Up @@ -86,7 +87,7 @@
"scope": "resource"
},
"cmakeExplorer.parallelJobs": {
"description": "The number of parallel test jobs (use zero to use the value of cmake.ctest.parallelJobs)",
"description": "Maximum number of parallel test jobs to run (zero=autodetect, 1 or negative=disable)",
"type": "integer",
"default": 0,
"scope": "resource"
Expand Down

0 comments on commit c97e7f9

Please sign in to comment.