xtest: cmake: fix find_package()

Commit 1f8ef9161ea9 ("xtest: Allow to specify the python interpreter")
introduced ${Python_EXECUTABLE} in the CMake build. Remove the explicit
component specification ("Interpreter Development") because it does not
seem to be needed and causes the following error [1]:

  -- Could NOT find Python (missing: Python_EXECUTABLE Python_LIBRARIES Python_INCLUDE_DIRS Interpreter Development)
  CMake Error at host/xtest/CMakeLists.txt:21 (message):
    Python interpreter not found

Also, use the REQUIRED keyword instead of a custom test and error
message.

Link: [1] https://dev.azure.com/OPTEE/optee_os/_build/results?buildId=1324&view=logs&j=705748f3-7146-5e86-79af-1c0266d20a8c&t=d3458a7d-1a81-5639-8e63-8927d807e53a&l=3644
Signed-off-by: Jerome Forissier <jerome@forissier.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
1 file changed
tree: 471d6628baa28b83cb6a2aa0bd4e8ef2903e6f51
  1. .github/
  2. cert/
  3. host/
  4. scripts/
  5. ta/
  6. .gitignore
  7. Android.mk
  8. CMakeLists.txt
  9. CMakeToolchain.txt
  10. LICENSE.md
  11. Makefile
  12. README.md
  13. typedefs.checkpatch
README.md

OP-TEE sanity testsuite

This git contains source code for the test suite (xtest) used to test the OP-TEE project.

All official OP-TEE documentation has moved to http://optee.readthedocs.io. The information that used to be here in this git can be found under optee_test.

// OP-TEE core maintainers