Skip to contentSkip to conversation

app/test: enable crypto unit tests on Windows

PATCH In review Tal Shnaiderman 3 participants 3 messages Sep 15, 2021 – Feb 8, 2022 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 app/test: enable crypto unit tests on Windows

Enable cryptography unit tests on Windows supported crypto PMDs.

---
Depends-on: series-18674 ("app/test: enable subset of tests on Windows")
Depends-on: patch-98942 ("security: build on Windows")

---
 app/test/meson.build | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
app/test/meson.build +6 -6
index 108995db21..47df72d788 100644
@@ -22,6 +22,10 @@ test_sources = files(
         'test_cmdline_num.c',
         'test_cmdline_portlist.c',
         'test_cmdline_string.c',
+        'test_cryptodev.c',
+        'test_cryptodev_asym.c',
+        'test_cryptodev_blockcipher.c',
+        'test_cryptodev_security_pdcp.c',
         'test_common.c',
         'test_cpuflags.c',
         'test_crc.c',
@@ -92,6 +96,7 @@ test_deps = [
         'bitratestats',
         'cfgfile',
         'cmdline',
+        'cryptodev',
         'efd',
         'ethdev',
         'hash',
@@ -105,6 +110,7 @@ test_deps = [
         'stack',
         'telemetry',
         'timer',
+        'security',
 ]
 
 # Each test is marked with flag true/false
@@ -183,10 +189,6 @@ if not is_windows
             'test_bpf.c',
             'test_cksum.c',
             'test_cmdline_ipaddr.c',
-            'test_cryptodev.c',
-            'test_cryptodev_asym.c',
-            'test_cryptodev_blockcipher.c',
-            'test_cryptodev_security_pdcp.c',
             'test_debug.c',
             'test_distributor.c',
             'test_distributor_perf.c',
@@ -244,7 +246,6 @@ if not is_windows
     test_deps += [
             'acl',
             'bpf',
-            'cryptodev',
             'distributor',
             'eventdev',
             'fib',
@@ -256,7 +257,6 @@ if not is_windows
             'pipeline',
             'port',
             'rawdev',
-            'security',
     ]
 
     fast_tests += [
Signature · 1 line
2.16.1.windows.4
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines

Enable cryptography unit tests on Windows supported crypto PMDs.

---
Depends-on: series-18674 ("app/test: enable subset of tests on Windows")
Depends-on: patch-98942 ("security: build on Windows")
---

Delegating this patch to Thomas, as dependent series are delegated to Thomas as well.

#2 lore raw

05/10/2021 15:52, Akhil Goyal:

Quoted 10 lines
Quoted 7 lines

Enable cryptography unit tests on Windows supported crypto PMDs.

---
Depends-on: series-18674 ("app/test: enable subset of tests on Windows")
Depends-on: patch-98942 ("security: build on Windows")
---

Delegating this patch to Thomas, as dependent series are delegated to Thomas as well.

The dependencies are merged but I am not sure something is required to enable crypto unit tests on Windows.
Please check what was done during the latest reworks.