-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change the output formation of ToString method of Uuid #152
Conversation
|
@ivila care to update CI to run the library tests too? |
@b49020 I have tried, the test of optee-utee can run succuessfully(because it links nothing when test), but for the test of optee-teec, it requires run on Arm machine (it requires to link the libteec, but on x86_64 machine it can not be done as we are not going to build a libteec.a of x86 architecture, check this pipeline). But I can give it a try(hoping not change too much) |
@ivila Could you provide the cargo test command you use? Seems you have posted them on the original commit. |
@ivila agree I think compiling and running tests on arm64 runners makes better sense. However, we should be able to compile native for x86 too for testing purposes. However, we should accumulate all the library tests under:
|
BTW, if you want to push actual fix separately, we should be able to merge it till we sort out how to run library tests. |
@DemesneGH Sure. 1. For optee-uteethe command is: 2. for optee-teecthe command is: |
@b49020 actually there is a quick fix way, just to provide an env to tell optee-teec-sys not to link the teec library (just like what I do at optee-utee-sys) |
I think |
Sounds reasonable from unit testing point of view. |
@DemesneGH @b49020
|
|
1) change the realization of Display trait of Uuid, make its formation const of 36 bytes. 2) introduce an env(SYS_BUILD_TYPE) in optee-utee-sys and optee-teec-sys so that developers can run unit tests on host machine(even x86) 3) add unit tests to ci Signed-off-by: ivila <[email protected]> Acked-by: Yuan Zhuang <[email protected]> Reviewed-by: Sumit Garg <[email protected]>
const of 36 bytes.
we can run library tests of optee-utee
This one relates to #151