Fix return type to be conformant with CTest. (#160)

Co-authored-by: Adam Osewski <aosewski@amd.com>
This commit is contained in:
Adam Osewski
2022-03-31 03:05:20 +02:00
committed by GitHub
parent 34c661e71c
commit 982f8bbc29
5 changed files with 6 additions and 4 deletions

View File

@@ -193,5 +193,5 @@ int main(void)
<< std::endl;
res = TestGetHostTensorDescriptor();
std::cout << "TestGetHostTensorDescriptor ..... " << (res ? "SUCCESS" : "FAILURE") << std::endl;
return 0;
return res ? 0 : 1;
}