CTest: Add a test to perform negative testing on all rocDecode APIs (#562)

[ROCm/rocdecode commit: 1d8ab16c52]
This commit is contained in:
Aryan Salmanpour
2025-04-16 16:46:50 -04:00
committed by GitHub
parent fe0e639d08
commit 2a86f75813
7 changed files with 688 additions and 0 deletions
@@ -0,0 +1,22 @@
# RocDecode API Negative tests
This test suite is designed to perform negative testing on all rocDecode APIs. The purpose of these tests is to validate the robustness and error-handling mechanisms of the rocDecode APIs
by providing invalid inputs, unexpected scenarios, or edge cases to ensure the APIs respond with appropriate error messages or behaviors.
## Prerequisites:
* Install [rocDecode](../../README.md#build-and-install-instructions)
## Build
```shell
mkdir build && cd build
cmake ../
make -j
```
## Run
```shell
./rocdecodenegativetest
```