mirror of
https://github.com/espressif/esp-sr.git
synced 2025-09-15 15:28:44 +08:00
remove Warnings in afe test
This commit is contained in:
parent
a90948b9b6
commit
1e46f53d41
@ -175,7 +175,7 @@ test_esp_sr:
|
|||||||
artifacts: true
|
artifacts: true
|
||||||
optional: true
|
optional: true
|
||||||
tags:
|
tags:
|
||||||
- 'esp32s3'
|
- esp32s3
|
||||||
image: $DOCKER_TARGET_TEST_v5_0_ENV_IMAGE
|
image: $DOCKER_TARGET_TEST_v5_0_ENV_IMAGE
|
||||||
variables:
|
variables:
|
||||||
TEST_TARGET: 'esp32s3'
|
TEST_TARGET: 'esp32s3'
|
||||||
@ -192,7 +192,7 @@ test_esp_tts:
|
|||||||
artifacts: true
|
artifacts: true
|
||||||
optional: true
|
optional: true
|
||||||
tags:
|
tags:
|
||||||
- 'esp32s3'
|
- esp32s3
|
||||||
image: $DOCKER_TARGET_TEST_v5_0_ENV_IMAGE
|
image: $DOCKER_TARGET_TEST_v5_0_ENV_IMAGE
|
||||||
variables:
|
variables:
|
||||||
TEST_TARGET: 'esp32s3'
|
TEST_TARGET: 'esp32s3'
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -267,7 +267,7 @@ void esp_mn_commands_print(void)
|
|||||||
ESP_LOGI(TAG, "---------------------------------------------------------\n");
|
ESP_LOGI(TAG, "---------------------------------------------------------\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
void print_active_speech_commands(void)
|
void esp_mn_active_commands_print(void)
|
||||||
{
|
{
|
||||||
ESP_LOGI(TAG, "---------------------ACTIVE SPEECH COMMANDS---------------------");
|
ESP_LOGI(TAG, "---------------------ACTIVE SPEECH COMMANDS---------------------");
|
||||||
esp_mn_model_handle->print_active_speech_commands(esp_mn_model_data);
|
esp_mn_model_handle->print_active_speech_commands(esp_mn_model_data);
|
||||||
|
|||||||
@ -170,4 +170,4 @@ void esp_mn_commands_print(void);
|
|||||||
/**
|
/**
|
||||||
* @brief Print all active commands.
|
* @brief Print all active commands.
|
||||||
*/
|
*/
|
||||||
void print_active_speech_commands(void);
|
void esp_mn_active_commands_print(void);
|
||||||
@ -299,7 +299,7 @@ void test_print_cpuloading(void *arg)
|
|||||||
vTaskDelete(NULL);
|
vTaskDelete(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE(">>>>>>>> audio_front_end SR cpu loading and memory info <<<<<<<<", "[afe]")
|
TEST_CASE("audio_front_end SR cpu loading and memory info", "[afe]")
|
||||||
{
|
{
|
||||||
srmodel_list_t *models = esp_srmodel_init("model");
|
srmodel_list_t *models = esp_srmodel_init("model");
|
||||||
if (models!=NULL) {
|
if (models!=NULL) {
|
||||||
@ -346,7 +346,7 @@ TEST_CASE(">>>>>>>> audio_front_end SR cpu loading and memory info <<<<<<<<", "[
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
TEST_CASE(">>>>>>>> audio_front_end VC create/destroy API & memory leak <<<<<<<<", "[afe]")
|
TEST_CASE("audio_front_end VC create/destroy API & memory leak", "[afe]")
|
||||||
{
|
{
|
||||||
int start_total_mem_size = 0;
|
int start_total_mem_size = 0;
|
||||||
int start_internal_mem_size = 0;
|
int start_internal_mem_size = 0;
|
||||||
@ -418,7 +418,7 @@ TEST_CASE(">>>>>>>> audio_front_end VC create/destroy API & memory leak <<<<<<<<
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE(">>>>>>>> audio_front_end VC cpu loading and memory info <<<<<<<<", "[afe]")
|
TEST_CASE("audio_front_end VC cpu loading and memory info", "[afe]")
|
||||||
{
|
{
|
||||||
total_ram_size_before = heap_caps_get_free_size(MALLOC_CAP_8BIT);
|
total_ram_size_before = heap_caps_get_free_size(MALLOC_CAP_8BIT);
|
||||||
internal_ram_size_before = heap_caps_get_free_size(MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL);
|
internal_ram_size_before = heap_caps_get_free_size(MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL);
|
||||||
|
|||||||
@ -173,7 +173,7 @@ TEST_CASE("multinet set commands", "[mn]")
|
|||||||
} else {
|
} else {
|
||||||
printf("Invalid language\n");
|
printf("Invalid language\n");
|
||||||
}
|
}
|
||||||
print_active_speech_commands();
|
esp_mn_active_commands_print();
|
||||||
|
|
||||||
multinet->destroy(model_data);
|
multinet->destroy(model_data);
|
||||||
esp_srmodel_deinit(models);
|
esp_srmodel_deinit(models);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user