2021-04-08 14:09:19 +05:30
|
|
|
#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
|
2021-05-21 02:31:28 -07:00
|
|
|
std::cout << "HIP_SKIP_THIS_TEST" << std::endl;
|
2021-04-08 14:09:19 +05:30
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
return Catch::Session().run(argc, argv);
|
|
|
|
|
}
|