[V1,2/9] tests/TestSuite_fips_cryptodev: support meson build

Message ID 20200907111035.7697-3-yux.jiang@intel.com (mailing list archive)
State Accepted
Headers
Series Modify suites to support meson & makefile |

Commit Message

Yu Jiang Sept. 7, 2020, 11:10 a.m. UTC
  From: "Jiang,yu" <yux.jiang@intel.com>

adapt to support both meson and makefile build

Signed-off-by: Jiang,yu <yux.jiang@intel.com>
---
 tests/TestSuite_fips_cryptodev.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/tests/TestSuite_fips_cryptodev.py b/tests/TestSuite_fips_cryptodev.py
index aab2167..8c75d54 100644
--- a/tests/TestSuite_fips_cryptodev.py
+++ b/tests/TestSuite_fips_cryptodev.py
@@ -45,7 +45,7 @@  class FipCryptodev(TestCase):
         self.verify("No such"not in out,"Compilation error")
         self.vf_driver = self.get_suite_cfg()['vf_driver']
         cc.bind_qat_device(self, "vfio-pci")
-        self._app_path = "./examples/fips_validation/build/fips_validation"
+        self._app_path = self.dut.apps_name['fips_validation']
         self._default_fips_opts = {
             "req-file": None,
             "rsp-file": None,