ee8e6078f9
Change-Id: Iedfa041ec9acc13eeb631ff67e1677e2fe29463d
[ROCm/hip commit: 8084df7b49]
14 строки
404 B
C++
14 строки
404 B
C++
#define CATCH_CONFIG_RUNNER
|
|
#include <hip_test_common.hh>
|
|
#include <iostream>
|
|
|
|
int main(int argc, char** argv) {
|
|
auto& context = TestContext::get(argc, argv);
|
|
if (context.skipTest()) {
|
|
// CTest uses this regex to figure out if the test has been skipped
|
|
std::cout << "HIP_SKIP_THIS_TEST" << context.getCurrentTest() << std::endl;
|
|
return 0;
|
|
}
|
|
return Catch::Session().run(argc, argv);
|
|
}
|