mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 15:03:02 +08:00
Add exclude support for hwtest_p tests
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
8f38f4ee3c
commit
e4437fcf54
@@ -412,7 +412,20 @@ extern GFXCORE_FAMILY renderCoreFamily;
|
||||
void testBodyHw(); \
|
||||
\
|
||||
void TestBody() override { \
|
||||
FAMILY_SELECTOR(::renderCoreFamily, testBodyHw) \
|
||||
if (!IS_TEST_EXCLUDED(test_suite_name, test_name)) { \
|
||||
FAMILY_SELECTOR(::renderCoreFamily, testBodyHw) \
|
||||
} \
|
||||
} \
|
||||
void SetUp() override { \
|
||||
if (IS_TEST_EXCLUDED(test_suite_name, test_name)) { \
|
||||
GTEST_SKIP(); \
|
||||
} \
|
||||
test_suite_name::SetUp(); \
|
||||
} \
|
||||
void TearDown() override { \
|
||||
if (!IS_TEST_EXCLUDED(test_suite_name, test_name)) { \
|
||||
test_suite_name::TearDown(); \
|
||||
} \
|
||||
} \
|
||||
\
|
||||
private: \
|
||||
|
||||
Reference in New Issue
Block a user