esp-idf/components/bt/test_apps/basic_unit_test/main/test_bt_common.c

25 wiersze
536 B
C

/*
* SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Unlicense OR CC0-1.0
*/
/*
Tests for the BT common things implementation
*/
#include <stdbool.h>
#include "unity.h"
#include "sdkconfig.h"
// btdm_controller_compile_version_check defined only for ESP32
#ifdef CONFIG_IDF_TARGET_ESP32
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);
}
#endif