Skip to content

Only build CLI-dependent tests when FOSSILIZE_CLI is enabled - #315

Merged
HansKristian-Work merged 1 commit into
ValveSoftware:masterfrom
kwy404:tests-without-cli
Sep 24, 2026
Merged

HansKristian-Work merged 1 commit into
ValveSoftware:masterfrom
kwy404:tests-without-cli

Conversation

@kwy404

@kwy404 kwy404 commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

multi-instance-and-device-test and feature-filter-test link against cli-utils, which only exists when FOSSILIZE_CLI is on, so configuring with -DFOSSILIZE_CLI=OFF and tests enabled failed to build. This moves both tests under an if (FOSSILIZE_CLI) block. Checked with MSVC in both configurations, and ctest passes in each.

multi-instance-and-device-test and feature-filter-test link against
cli-utils, so configuring with -DFOSSILIZE_CLI=OFF failed to build.
@HansKristian-Work
HansKristian-Work merged commit 556da9f into ValveSoftware:master Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants