[V1] tests/perf_test_base: fix invalid meson parameter

Message ID 20220507090334.2538890-1-yingyax.han@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] tests/perf_test_base: fix invalid meson parameter |

Checks

Context Check Description
ci/Intel-dts-suite-test warning SKIPPED

Commit Message

Yingya Han May 7, 2022, 9:03 a.m. UTC
Signed-off-by: Yingya Han <yingyax.han@intel.com>
---
 tests/perf_test_base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Tu, Lijuan May 9, 2022, 7:38 a.m. UTC | #1
On Sat,  7 May 2022 17:03:34 +0800, Yingya Han <yingyax.han@intel.com> wrote:
> Signed-off-by: Yingya Han <yingyax.han@intel.com>


Applied, thanks
  

Patch

diff --git a/tests/perf_test_base.py b/tests/perf_test_base.py
index 82ae74f4..5f80a9d8 100644
--- a/tests/perf_test_base.py
+++ b/tests/perf_test_base.py
@@ -680,7 +680,7 @@  class PerfTestBase(object):
     def __get_rx_desc_complication_flag(self):
         rx_desc_flag = ""
         if self.__compile_rx_desc:
-            rx_desc_flag = f"RTE_LIBRTE_{self.kdriver.upper()}_{self.__compile_rx_desc}BYTE_RX_DESC"
+            rx_desc_flag = f"-Dc_args=-DRTE_LIBRTE_{self.kdriver.upper()}_{self.__compile_rx_desc}BYTE_RX_DESC"
             if self.__compile_rx_desc == 32:
                 msg = f"{rx_desc_flag} is dpdk default compile flag, ignore this compile flag"
                 self.logger.warning(msg)