SWDEV-411064 - check if image is supported before running image specific tests
Change-Id: I62b3f7489f2f33b4b4e02f42a46e66c8940f2277
这个提交包含在:
提交者
Jatin Jaikishan Chaudhary
父节点
b6b43db172
当前提交
ee3c94faf2
@@ -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
|
||||
|
||||
在新工单中引用
屏蔽一个用户