From c48f4b70e2e30ccd6fd04f387da8c0be3834355f Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Tue, 23 Aug 2022 11:56:08 +0800 Subject: [PATCH] intel/compiler: Fixes [-Wdeprecated-declarations] in test_eu_compact.cpp Warning messages: ../src/intel/compiler/test_eu_compact.cpp:238:1: warning: 'InstantiateTestCase_P_IsDeprecated' is deprecated: INSTANTIATE_TEST_CASE_P is deprecated, please use INSTANTIATE_TEST_SUITE_P [-Wdeprecated-declarations] ../src/intel/compiler/test_eu_compact.cpp:256:1: warning: 'InstantiateTestCase_P_IsDeprecated' is deprecated: INSTANTIATE_TEST_CASE_P is deprecated, please use INSTANTIATE_TEST_SUITE_P [-Wdeprecated-declarations] Signed-off-by: Yonggang Luo Reviewed-by: Erik Faye-Lund Acked-by: Lionel Landwerlin Reviewed-by: David Heidelberg Part-of: --- src/intel/compiler/test_eu_compact.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intel/compiler/test_eu_compact.cpp b/src/intel/compiler/test_eu_compact.cpp index 59ad71f3c7f..a5d097104c1 100644 --- a/src/intel/compiler/test_eu_compact.cpp +++ b/src/intel/compiler/test_eu_compact.cpp @@ -235,7 +235,7 @@ protected: class Instructions : public CompactTestFixture {}; -INSTANTIATE_TEST_CASE_P( +INSTANTIATE_TEST_SUITE_P( CompactTest, Instructions, testing::Values( @@ -253,7 +253,7 @@ INSTANTIATE_TEST_CASE_P( class InstructionsBeforeIvyBridge : public CompactTestFixture {}; -INSTANTIATE_TEST_CASE_P( +INSTANTIATE_TEST_SUITE_P( CompactTest, InstructionsBeforeIvyBridge, testing::Values(