Skip to content

Fix CTest registration for TempestTests - #93

Merged
Try merged 1 commit into
Try:masterfrom
tryk016:codex/pr-tempest-ctest-registration
Sep 2, 2026
Merged

Fix CTest registration for TempestTests#93
Try merged 1 commit into
Try:masterfrom
tryk016:codex/pr-tempest-ctest-registration

Conversation

@tryk016

@tryk016 tryk016 commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

The current add_test call mixes the legacy signature with the COMMAND keyword. As a result, CTest treats COMMAND as the executable name and fails with TempestTests: command not found.

Use the NAME ... COMMAND ... signature so CMake resolves the test target to its configuration-specific executable path. Run it from the existing runtime output directory, where the test assets and generated shaders are available.

Validation:

  • reproduced the failure on current master
  • CTest passes all 174 tests with Unix Makefiles
  • CTest passes all 174 tests with Ninja Multi-Config
  • fork CI passes on MSVC, MinGW, Ubuntu, and macOS

The current GitHub Actions workflow invokes TempestTests directly, so this change affects CTest registration rather than the existing CI command.

@Try
Try merged commit 9380118 into Try:master Sep 2, 2026
4 checks passed
@Try

Try commented Sep 2, 2026

Copy link
Copy Markdown
Owner

look good - merged. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants