SWDEV-411064 - check if image is supported before running image specific tests

Change-Id: I62b3f7489f2f33b4b4e02f42a46e66c8940f2277
这个提交包含在:
Jatin Chaudhary
2023-07-25 17:04:13 +01:00
提交者 Jatin Jaikishan Chaudhary
父节点 b6b43db172
当前提交 ee3c94faf2
修改 52 个文件,包含 524 行新增76 行删除
+5
查看文件
@@ -482,6 +482,8 @@ static void hipGraphClone_Test_hipGraphMemcpyNodeSetParams() {
}
TEST_CASE("Unit_hipGraphClone_Test_hipGraphMemcpyNodeSetParams") {
CHECK_IMAGE_SUPPORT
hipGraphClone_Test_hipGraphMemcpyNodeSetParams();
}
@@ -1873,6 +1875,9 @@ static void hipGraphClone_Test_All_API(int dev) {
Run all the above writen test cases for multiple GPU scenarios */
TEST_CASE("Unit_hipGraphClone_multi_GPU_test") {
//FIXME: This test tests 3D as well, decouple it
CHECK_IMAGE_SUPPORT
int devcount = 0;
HIP_CHECK(hipGetDeviceCount(&devcount));
// If only single GPU is detected then return