The regression_1033 test tests if OP-TEE supports tee supplicant
plugins.

For this test, optee-test has to install the built plugins and requires
plugin support in the tee-supplicant.

Signed-off-by: Michael Tretter <[email protected]>
---
 rules/optee-test.in   | 1 +
 rules/optee-test.make | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/rules/optee-test.in b/rules/optee-test.in
index ceb342bea1a6..47859a299520 100644
--- a/rules/optee-test.in
+++ b/rules/optee-test.in
@@ -3,6 +3,7 @@
 config OPTEE_TEST
        tristate
        select OPTEE_CLIENT
+       select OPTEE_CLIENT_SUPPLICANT_PLUGINS
        select OPTEE
        select OPENSSL
        prompt "optee-test"
diff --git a/rules/optee-test.make b/rules/optee-test.make
index 4984c2bed16f..dbb04744be71 100644
--- a/rules/optee-test.make
+++ b/rules/optee-test.make
@@ -37,6 +37,7 @@ OPTEE_TEST_MAKE_ENV   := \
        TA_DEV_KIT_DIR=$(PTXDIST_SYSROOT_TARGET)/usr/lib/optee-os \
        OPTEE_CLIENT_EXPORT=$(PTXDIST_SYSROOT_TARGET)/usr \
        COMPILE_NS_USER=32 
OPTEE_OPENSSL_EXPORT=$(PTXDIST_SYSROOT_TARGET)/usr/lib \
+       CFG_TEE_PLUGIN_LOAD_PATH=/usr/lib/tee-supplicant/plugins \
        bindir=/usr/bin \
        libdir=/usr/lib
 
@@ -70,6 +71,7 @@ $(STATEDIR)/optee-test.targetinstall:
 
        @$(call install_copy, optee-test, 0, 0, 0755, -, /usr/bin/optee-xtest)
        @$(call install_tree, optee-test, 0, 0, -, /usr/lib/optee_armtz)
+       @$(call install_tree, optee-test, 0, 0, -, 
/usr/lib/tee-supplicant/plugins)
 
        @$(call install_finish, optee-test)
 
-- 
2.39.5


Reply via email to