-
Notifications
You must be signed in to change notification settings - Fork 3k
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
CMake: Add CMake to mbed-psa greentea tests #14828
CMake: Add CMake to mbed-psa greentea tests #14828
Commits on Jun 29, 2021
-
CMake: fix incorrect relative path for MBED_PATH
MBED_PATH set to /platform directory incorrectly. Updated to set to /mbed-os directory.
Configuration menu - View commit details
-
Copy full SHA for 8b020f6 - Browse repository at this point
Copy the full SHA 8b020f6View commit details -
CMake: Remove unnecessary CMakeLists.txt
CMakeLists.txt file in /hal/tests/TESTS/mbed_hal_fpga_ci_test_shield directory was non-functional as it used the greentea_add_test macro, which expects a main.cpp in current directory, but no main.cpp exists there. I checked with @rajkan01 who confirmed that this CMake file is serving no purpose and is there erroneously. All tests in subdirectories of this directory have their own CMakeLists.txt that successfully build them.
Configuration menu - View commit details
-
Copy full SHA for 3e71692 - Browse repository at this point
Copy the full SHA 3e71692View commit details -
CMake: Remove alias for TEST_NAME argument
The mbed_greentea_add_test macro previously set a variable in order to use the un-prefixed TEST_NAME to refer to the argument in the macro body. Whilst pair-programming with LDong, this was identified and determined to be unecessary (maybe it was a failed attempt to fix something, that was never reversed?) and so it has been removed.
Configuration menu - View commit details
-
Copy full SHA for defc80a - Browse repository at this point
Copy the full SHA defc80aView commit details -
CMake: Require TEST_SOURCES in greentea CMake file
Assumption that greentea test file is always named main.cpp is incorrect. Updated mbed_greentea_add_test() macro to make TEST_SOURCES parameter compulsory, which is used to specify greentea test file(s). This allows tests to use C, or have a different name. Therefore also updated all pre-existing greentea test CMake files to explicity add main.cpp to TEST_SOURCES.
Configuration menu - View commit details
-
Copy full SHA for f95052c - Browse repository at this point
Copy the full SHA f95052cView commit details -
CMake: Add support for PSA attestation test
The greentea test for mbed-psa attestation can now be built with CMake.
Configuration menu - View commit details
-
Copy full SHA for 4bed069 - Browse repository at this point
Copy the full SHA 4bed069View commit details -
CMake: Add support for PSA crypto_init test
The greentea test for mbed-psa crypto_init can now be built with CMake.
Configuration menu - View commit details
-
Copy full SHA for 9dc39a8 - Browse repository at this point
Copy the full SHA 9dc39a8View commit details -
CMake: Add support for PSA its_ps test
The greentea test for mbed-psa its_ps can now be built with CMake.
Configuration menu - View commit details
-
Copy full SHA for 24a3dab - Browse repository at this point
Copy the full SHA 24a3dabView commit details -
CMake: Add support for PSA entropy_inject test
The greentea test for PSA entropy_inject can now be built with CMake. Note: requires MBEDTLS_ENTROPY_NV_SEED enabled, so not tested on target.
Configuration menu - View commit details
-
Copy full SHA for 26290ad - Browse repository at this point
Copy the full SHA 26290adView commit details -
CMake: Add mbed-psa-tal (Test Abstraction Layers)
Move /val and /pal directories into /test_abstraction_layers directory and combine into one CMake target, mbed-psa-tal. Moved into seperate directory in order to have own CMakeLists.txt, rather than adding to /TARGET_MBED_PSA_SRV CMake file.
Configuration menu - View commit details
-
Copy full SHA for 62f110c - Browse repository at this point
Copy the full SHA 62f110cView commit details -
CMake: Add support for compliance_attestation test
Greentea test for PSA compliance_attestation can now build with CMake.
Configuration menu - View commit details
-
Copy full SHA for 13ea9f3 - Browse repository at this point
Copy the full SHA 13ea9f3View commit details -
CMake: Add support for PSA compliance_its tests
PSA compliance_its tests can now be built with CMake.
Configuration menu - View commit details
-
Copy full SHA for f69a375 - Browse repository at this point
Copy the full SHA f69a375View commit details