zephyr/tests/bluetooth/init
Marc Herbert debade9121 tests: make find_package(Zephyr...) REQUIRED
... because it is (required).

This makes a difference when building with CMake and forgetting
ZEPHYR_BASE or not registering Zephyr in the CMake package registry.

In this particular case, REQUIRED turns this harmless looking log
statement:

-- Could NOT find Zephyr (missing: Zephyr_DIR)
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- ...
-- ...
-- ...
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:8 (target_sources):
  Cannot specify sources for target "app" which is not built by
  this project.

... into this louder, clearer, faster and (last but not least) final
error:

CMake Error at CMakeLists.txt:5 (find_package):
  Could not find a package configuration file provided by "Zephyr" with
  any of the following names:

    ZephyrConfig.cmake
    zephyr-config.cmake

  Add the installation prefix of "Zephyr" to CMAKE_PREFIX_PATH or set
  "Zephyr_DIR" to a directory containing one of the above files.  If
  "Zephyr" provides a separate development package or SDK, be sure it
  has been installed.

-- Configuring incomplete, errors occurred!

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2020-05-29 10:47:25 +02:00
..
src
CMakeLists.txt tests: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
prj.conf
prj_0.conf
prj_1.conf
prj_2.conf
prj_3.conf
prj_4.conf
prj_5.conf
prj_6.conf
prj_7.conf
prj_8.conf
prj_9.conf
prj_10.conf
prj_11.conf
prj_12.conf
prj_13.conf
prj_14.conf
prj_15.conf
prj_16.conf
prj_17.conf
prj_18.conf
prj_19.conf
prj_20.conf
prj_21.conf
prj_22.conf
prj_controller_4_0_ll_sw_split.conf
prj_controller_dbg_ll_sw_split.conf
prj_controller_ll_sw_split.conf
prj_controller_tiny_ll_sw_split.conf
prj_h5.conf
prj_h5_dbg.conf
testcase.yaml Bluetooth: controller: Remove legacy LL 2020-05-08 15:07:00 +02:00