SWDEV-277697 - Adding Infra and dependent libs: Catch2 and json parser, for new HIP Testing framework

Change-Id: Iedfa041ec9acc13eeb631ff67e1677e2fe29463d
Este cometimento está contido em:
cjatin criou e Maneesh Gupta cometeu 2021-05-19 00:47:00 -04:00
1 ascendente 871c167fd0
cometimento 8084df7b49
34 ficheiros modificados
+20953 -8

Não existem ficheiros que correspondam à sua pesquisa

+13
Ver ficheiro
@@ -0,0 +1,13 @@
#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);
}