You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As reported in #2682, invalid images (but valid a valid file) would
report a 500 error when CDash attempts to create the image from the
information. Catch the error on creation and return early, as if the
image had an unknown extension.
Set the checksum to 0 to avoid writing other error messages to the log
Bug report
Sample reproduction
CMakeLists.txt
:where
a.png
b.png
is not a valid image file (e.g. it contains text).Expected Behavior
When submitting tests results with CTest, submit succeeds, invalid images are ignored, and the test results are available on CDash.
Actual Behavior
Submit fails with an error 500, and the test results are not available on CDash.
CDash Version
3.7.0
Additional Information
Example output of ctest -D Experimental
CDash logs:
I used cmake 3.25.1, FWIW.
The text was updated successfully, but these errors were encountered: