[1/2] test: create a list of extra tests

Message ID 20211027140458.2502-1-david.marchand@redhat.com (mailing list archive)
State Accepted, archived
Delegated to: David Marchand
Headers
Series [1/2] test: create a list of extra tests |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

David Marchand Oct. 27, 2021, 2:04 p.m. UTC
  We removed some tests from the "CI" (fast-tests) list because they
were not reliable enough or did not make sense as non regression tests.
Since we still build those tests code, leave an option for users to call
them.
This list can also serve as a point where to document why test X is not
suitable for the "CI" list.

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 app/test/meson.build | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
  

Patch

diff --git a/app/test/meson.build b/app/test/meson.build
index 20f36a1803..200790eda0 100644
--- a/app/test/meson.build
+++ b/app/test/meson.build
@@ -287,6 +287,14 @@  fast_tests = [
         ['trace_autotest', true],
 ]
 
+# Tests known to have issues or which don't belong in other tests lists.
+extra_test_names = [
+        # ee00af60170b ("test: remove strict timing requirements some tests")
+        'alarm_autotest',
+        'cycles_autotest',
+        'delay_us_sleep_autotest',
+]
+
 perf_test_names = [
         'ring_perf_autotest',
         'mempool_perf_autotest',
@@ -525,3 +533,11 @@  foreach arg : dump_test_names
             is_parallel : false,
             suite : 'debug-tests')
 endforeach
+
+foreach arg : extra_test_names
+    test(arg, dpdk_test,
+            env : ['DPDK_TEST=' + arg],
+            timeout : timeout_seconds,
+            is_parallel : false,
+            suite : 'extra-tests')
+endforeach