Skip to content

Fix test file download link#3726

Merged
williamjallen merged 1 commit into
Kitware:masterfrom
williamjallen:fix-test-file-download-link
May 14, 2026
Merged

Fix test file download link#3726
williamjallen merged 1 commit into
Kitware:masterfrom
williamjallen:fix-test-file-download-link

Conversation

@williamjallen
Copy link
Copy Markdown
Collaborator

Fixes an issue introduced in #3662 which broke test file download links.

Copy link
Copy Markdown
Member

@josephsnyder josephsnyder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The link still fails once the parameter has been replaced. There must have been something we were accounting for before with an explicit -1 in TestDetails.php.

Image
cdash4simpletest=# select * from testmeasurement where testid=413;
 id  |       name        |      type      |            value             | testid 
-----+-------------------+----------------+------------------------------+--------
 311 | Processors        | numeric/double | 1                            |    413
 312 | Environment       | text/string    | #CTEST_RESOURCE_GROUP_COUNT= |    413
 313 | CTestConfig.cmake | file           |                              |    413
(3 rows)

Fixes an issue introduced in Kitware#3662 which broke test file download links.
@williamjallen williamjallen force-pushed the fix-test-file-download-link branch from 6c32ec8 to dcecc57 Compare May 14, 2026 17:25
@williamjallen
Copy link
Copy Markdown
Collaborator Author

Oops, I just so happened to try with ID=1 which masked the fact that the fileid is actually the file index, not the actual test measurement ID. Fixed now.

Copy link
Copy Markdown
Member

@josephsnyder josephsnyder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix. Looks good now!

@josephsnyder josephsnyder added this pull request to the merge queue May 14, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 14, 2026
@williamjallen williamjallen added this pull request to the merge queue May 14, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 14, 2026
@williamjallen williamjallen added this pull request to the merge queue May 14, 2026
Merged via the queue into Kitware:master with commit 506dc6f May 14, 2026
7 checks passed
@williamjallen williamjallen deleted the fix-test-file-download-link branch May 14, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants