We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 71ebbc1 + 4d44f60 commit c716470Copy full SHA for c716470
util/proxy.h
@@ -40,16 +40,16 @@ template <typename T>
40
class test_proxy {
41
public:
42
test_proxy() {
43
- test_base::info info;
44
- T{}.get_info_legacy(info);
+ T{}.get_info_legacy(m_info);
45
46
Catch::AutoReg(
47
- Catch::makeTestInvoker<T>(&T::run_legacy), {__FILE__, __LINE__},
+ Catch::makeTestInvoker<T>(&T::run_legacy), {m_info.m_file.c_str(), /*.line=*/0},
48
"__SYCL_CTS_LEGACY_TEST__" + std::to_string(next_legacy_test_id++),
49
- {info.m_name, "[legacy]"});
+ {m_info.m_name, "[legacy]"});
50
}
51
52
private:
+ test_base::info m_info;
53
inline static size_t next_legacy_test_id = 0;
54
};
55
0 commit comments