Skip to content

Latest commit

 

History

History
70 lines (44 loc) · 1.7 KB

test-features.md

File metadata and controls

70 lines (44 loc) · 1.7 KB
title description ms.date
vcpkg test-features
Command line reference for the vcpkg test-features command. Builds all features of a package.
08/15/2023

vcpkg test-features

Synopsis

vcpkg test-features [options] <package>...

Description

Tests all features of a package by installing them in manifest mode. This command is useful for testing that all features of a package are working correctly. The following tests are performed:

  • The core feature gets installed with default featured disabled
  • Every feature gets installed with default featured disabled
  • All features combined gets installed

Feature which are unsupported or marked as cascade for the target triplet are skipped.

Example

$ vcpkg test-features gdal
Compute 34 install plans ...
Compute all abis ...
Detecting compiler hash for triplet arm64-osx...
Check the binary cache

1/34 gdal[core]:arm64-osx
...

Options

All vcpkg commands support a set of common options.

--ci-feature-baseline

Path to the ci.feature.baseline.txt file. Used to skip ports and detect regressions.

You can find a documentation of the file here.

--all

Test the features of all packages.

--dont-test-feature-core

Skip testing the core feature.

--dont-test-features-separately

Skip testing each feature separately.

--dont-test-features-combined

Skip testing all features combined.

--failure-logs

Directory to which failure logs will be copied.

--write-failure-abis-to

Path to a file to which abis from ports that failed to build will be written.