test_bt_common.c 536 B

123456789101112131415161718192021222324
  1. /*
  2. * SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Unlicense OR CC0-1.0
  5. */
  6. /*
  7. Tests for the BT common things implementation
  8. */
  9. #include <stdbool.h>
  10. #include "unity.h"
  11. #include "sdkconfig.h"
  12. // btdm_controller_compile_version_check defined only for ESP32
  13. #ifdef CONFIG_IDF_TARGET_ESP32
  14. extern bool btdm_controller_compile_version_check(void);
  15. TEST_CASE("bt_controller_git_commit_check", "[bt_common]")
  16. {
  17. TEST_ASSERT(btdm_controller_compile_version_check() == true);
  18. }
  19. #endif