]> git.droids-corp.org - dpdk.git/commitdiff
test: create a list of extra tests
authorDavid Marchand <david.marchand@redhat.com>
Wed, 27 Oct 2021 14:04:57 +0000 (16:04 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Tue, 16 Nov 2021 15:30:01 +0000 (16:30 +0100)
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

index a968abac76442540b664590621489caa22274b28..b36a97b543a621626e9e213a85434f9fbb71b676 100644 (file)
@@ -291,6 +291,13 @@ fast_tests = [
         ['trace_autotest', true],
 ]
 
+# Tests known to have issues or which don't belong in other tests lists.
+extra_test_names = [
+        'alarm_autotest', # ee00af60170b ("test: remove strict timing requirements some tests")
+        'cycles_autotest', # ee00af60170b ("test: remove strict timing requirements some tests")
+        'delay_us_sleep_autotest', # ee00af60170b ("test: remove strict timing requirements some tests")
+]
+
 perf_test_names = [
         'ring_perf_autotest',
         'mempool_perf_autotest',
@@ -536,3 +543,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