SWDEV-295037 - Fix passed() in DTests

passed() should not call exit(0) which will prevent object
destructor being called.

Change-Id: Ibaee0d85cb616727dc5db557bb9422702670b688


[ROCm/hip-tests commit: 913003099c]
Bu işleme şunda yer alıyor:
Tao Sang
2021-07-13 23:39:01 -04:00
işlemeyi yapan: Tao Sang
ebeveyn e05a9713dd
işleme 85ce4d0bcc
9 değiştirilmiş dosya ile 12 ekleme ve 35 silme
+1 -3
Dosyayı Görüntüle
@@ -403,9 +403,7 @@ void hipPerfMandelBrot::open(int deviceId) {
int nGpu = 0;
HIPCHECK(hipGetDeviceCount(&nGpu));
if (nGpu < 1) {
std::cout << "info: didn't find any GPU! skipping the test!\n";
passed();
return;
failed("No GPU!");
}