[V1,2/2] conf/meson_tests: modify meson_tests suite to support test config in conf

Message ID 20221110073238.7295-2-weiyuanx.li@intel.com (mailing list archive)
State Superseded
Headers
Series [V1,1/2] tests/meson_tests: modify meson_tests suite to support test config in conf |

Checks

Context Check Description
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-suite-test fail Testing issues

Commit Message

Weiyuan Li Nov. 10, 2022, 7:32 a.m. UTC
  Modify meson_tests suite to support test config (TIMEOUT_MULTIPLIER,
TEST_ARGS etc.) in conf/meson_tests.cfg.

Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
---
 conf/meson_tests.cfg | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)
  

Comments

Yu Jiang Nov. 17, 2022, 8:01 a.m. UTC | #1
> -----Original Message-----
> From: Weiyuan Li <weiyuanx.li@intel.com>
> Sent: Thursday, November 10, 2022 3:33 PM
> To: dts@dpdk.org
> Cc: Li, WeiyuanX <weiyuanx.li@intel.com>
> Subject: [dts][PATCH V1 2/2] conf/meson_tests: modify meson_tests suite to
> support test config in conf
> 
> Modify meson_tests suite to support test config (TIMEOUT_MULTIPLIER,
> TEST_ARGS etc.) in conf/meson_tests.cfg.
> 
> Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
> ---
Tested-by: Yu Jiang <yux.jiang@intel.com>

Except two known bugs:
  1, https://bugs.dpdk.org/show_bug.cgi?id=1107 [22.11-rc1][meson test] seqlock_autotest test failed, which is only found on CentOS7.9/gcc4.8.5. No fix yet.
  2, https://bugs.dpdk.org/show_bug.cgi?id=1024 [dpdk-22.07][meson test] driver-tests/link_bonding_mode4_autotest bond handshake failed. No fix yet.

Best regards,
Yu Jiang
  

Patch

diff --git a/conf/meson_tests.cfg b/conf/meson_tests.cfg
index 8dcb3d2e..4345c6da 100644
--- a/conf/meson_tests.cfg
+++ b/conf/meson_tests.cfg
@@ -1,8 +1,14 @@ 
 # config unit test case for meson test
 # caselist = thash_autotest trace_autotest
+# config options if set -1 is nothing
 [suite]
-fast-tests  = " "
-driver-tests = " "
-debug-tests = " "
-extra-tests = " "
-perf-tests = " "
+fast-tests  = -1
+driver-tests = -1
+debug-tests = -1
+extra-tests = -1
+perf-tests = -1
+[options]
+time_out = 14
+test_args = "-c 0xff"
+verbose = -1
+num_processes = "20"