2021-12-06 01:59:55 -05:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Unlicense OR CC0-1.0
|
|
|
|
*/
|
|
|
|
|
2018-09-20 00:31:22 -04:00
|
|
|
/*
|
|
|
|
Tests for the BT common things implementation
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
#include "unity.h"
|
2023-09-21 12:31:40 -04:00
|
|
|
#include "sdkconfig.h"
|
2018-09-20 00:31:22 -04:00
|
|
|
|
2023-09-21 12:31:40 -04:00
|
|
|
// btdm_controller_compile_version_check defined only for ESP32
|
|
|
|
#ifdef CONFIG_IDF_TARGET_ESP32
|
2018-09-20 00:31:22 -04:00
|
|
|
extern bool btdm_controller_compile_version_check(void);
|
|
|
|
|
|
|
|
TEST_CASE("bt_controller_git_commit_check", "[bt_common]")
|
|
|
|
{
|
|
|
|
TEST_ASSERT(btdm_controller_compile_version_check() == true);
|
|
|
|
}
|
2023-09-21 12:31:40 -04:00
|
|
|
#endif
|