Files
Aryan Salmanpour a7be0436a5 CTest: Add a test to perform negative testing on all rocJPEG APIs (#143)
* CTest: Add a test to perform negative testing on all rocJPEG APIs

* clean up

[ROCm/rocjpeg commit: 232a9c6906]
2025-04-18 10:02:12 -07:00

550 B

rocJPEG API Negative tests

This test suite is designed to perform negative testing on all rocJPEG APIs. The purpose of these tests is to validate the robustness and error-handling mechanisms of the rocJPEG APIs by providing invalid inputs, unexpected scenarios, or edge cases to ensure the APIs respond with appropriate error messages or behaviors.

Prerequisites:

Build

mkdir build && cd build
cmake ../
make -j

Run

./rocjpegnegativetest