da360c2aab
Change-Id: I3783caf85c694b724ed55b778220b8ef9a39f84b
14 línte
376 B
C++
14 línte
376 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" << std::endl;
|
|
return 0;
|
|
}
|
|
return Catch::Session().run(argc, argv);
|
|
}
|