test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1 1/3] add fips environment variable
@ 2019-10-08  5:29 yaobing
  2019-10-08  5:29 ` [dts] [PATCH V1 2/3] add case suite fips_cryptodev yaobing
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: yaobing @ 2019-10-08  5:29 UTC (permalink / raw)
  To: dts; +Cc: yaobing

add fips_cryptodev environment variable

Signed-off-by: yaobing <bingx.y.yao@intel.com>
---
 tests/cryptodev_common.py | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/tests/cryptodev_common.py b/tests/cryptodev_common.py
index 2e86bca..f521fbe 100644
--- a/tests/cryptodev_common.py
+++ b/tests/cryptodev_common.py
@@ -44,12 +44,30 @@ def build_dpdk_with_cryptodev(test_case):
     if "kasumi_lib_path" in test_case.get_suite_cfg():
         kasumi_lib_path = test_case.get_suite_cfg()["kasumi_lib_path"]
 
+    fip_cflags_path = "'-I/opt/openssl-fips-2.0.16/include/'"
+    if "fip_cflags_path" in test_case.get_suite_cfg():
+        fip_cflags_path = test_case.get_suite_cfg()["fip_cflags_path"]
+
+    fip_ldflags_path = "'-L/opt/openssl-fips-2.0.16/'"
+    if "fip_ldflags_path" in test_case.get_suite_cfg():
+        fip_cflags_path = test_case.get_suite_cfg()["fip_ldflags_path"]
+
+    fip_library_path = "/opt/openssl-fips-2.0.16/"
+    if "fip_library_path" in test_case.get_suite_cfg():
+        fip_cflags_path = test_case.get_suite_cfg()["fip_library_path"]
+
     test_case.dut.send_expect(
         "export LIBSSO_SNOW3G_PATH={}".format(snow3g_lib_path), "#")
     test_case.dut.send_expect(
         "export LIBSSO_ZUC_PATH={}".format(zuc_lib_path), "#")
     test_case.dut.send_expect(
         "export LIBSSO_KASUMI_PATH={}".format(kasumi_lib_path), "#")
+    test_case.dut.send_expect(
+        "export EXTRA_CFLAGS={}".format(fip_cflags_path), "#")
+    test_case.dut.send_expect(
+        "export EXTRA_LDFLAGS={}".format(fip_ldflags_path), "#")
+    test_case.dut.send_expect(
+        "export LD_LIBRARY_PATH={}".format(fip_library_path), "#")
 
     test_case.dut.send_expect(
         "sed -i 's/CONFIG_RTE_LIBRTE_PMD_AESNI_MB=n$/CONFIG_RTE_LIBRTE_PMD_AESNI_MB=y/' config/common_base", "# ")
-- 
2.17.2


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-10-12  5:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-08  5:29 [dts] [PATCH V1 1/3] add fips environment variable yaobing
2019-10-08  5:29 ` [dts] [PATCH V1 2/3] add case suite fips_cryptodev yaobing
2019-10-09  0:51   ` Chen, Zhaoyan
2019-10-10  5:36   ` Yao, BingX Y
2019-10-08  5:29 ` [dts] [PATCH V1 3/3] add fips_cryptodev config yaobing
2019-10-09  0:50   ` Chen, Zhaoyan
2019-10-10  5:36   ` Yao, BingX Y
2019-10-09  0:51 ` [dts] [PATCH V1 1/3] add fips environment variable Chen, Zhaoyan
2019-10-10  5:36 ` Yao, BingX Y
2019-10-12  5:42 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).