Khronos Bug 15728 SPIR 1.2 tests fail when some cases are skipped (#116)

This commit is contained in:
Grzegorz Wawiorko
2019-03-21 12:04:59 +01:00
committed by Kévin Petit
parent 7f2ed5317a
commit 7c763df0a1

View File

@@ -346,9 +346,11 @@ bool test_suite(cl_device_id device, cl_uint size_t_width, const char *folder,
{
std::cout << "Failed tests:" << std::endl;
std::for_each(ErrList.begin(), ErrList.end(), printError);
std::cout << std::endl;
return false;
}
std::cout << std::endl;
return tests_passed == number_of_tests;
return true;
}
static std::string getTestFolder(const std::string& TS)