[Sorry I sent the message by mistake, see my answer to you last question]
On Wed, Jan 4, 2017 at 1:09 PM, Jerome Forissier jerome.forissier@linaro.org wrote:
Hi Krzysztof,
On Wed, Jan 4, 2017 at 12:07 PM, Krzysztof Kwiatkowski krzysiek@leeds.pl wrote:
Hi Guys,
I'm wondering if it is possible to run GP compliance tests for 1.1 specification via xtest?
Do you mean the "TEE Initial Configuration Test Suite with excluded tests list v2.0.0.1" for "TEE Initial Configuration v1.1" (a.k.a. TEE_Initial_Configuration-Test_Suite_v2_0_0_1-2016_11_09.7z ; AFAICT this test suite covers the TEE Internal Core API Specification v1.1)? That is the latest published by GlobalPlatform.
The answer is: we don't support this version currently. We only support a prior version: v1.1.0.4, which corresponds to the "TEE Internal API Specification v1.0". Now, extending xtest to support the new suite should be doable.
If this is not yet a case, then do you have any idea how much work is required in order to do it?
I don't expect it to be a trivial task, because the current build process for GP tests is complex. C code is generated from XML via XSLT and patches are applied on top. You will likely need to write and/or update XSL files and possibly support code (helper functions and whatnot). Sorry I'm not that knowledgeable with the GP test suite and especially how it's implemented. To me it looks complicated, possibly overly so, but OTOH it's quite possible that this complexity is actually needed (there's no free lunch so to speak).
Now if you're willing to invest some time in it, I think it will be worth it and helpful to many people. I will help as much as I can, actually I have access to the GP test suite so I can run some tests on HiKey for instance.
Regards,