From cbfcb72b19706a17c3fe2f1ce394dea40a4dd787 Mon Sep 17 00:00:00 2001 From: Li Junru Date: Fri, 29 Mar 2024 10:24:52 +0800 Subject: [PATCH] test: led indicator ci --- components/led/led_indicator/README.md | 12 ++++++------ .../led_indicator/test_apps/pytest_led_indicator.py | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/components/led/led_indicator/README.md b/components/led/led_indicator/README.md index 39ea06366..48ef43bd1 100644 --- a/components/led/led_indicator/README.md +++ b/components/led/led_indicator/README.md @@ -2,12 +2,12 @@ As one of the simplest output peripherals, LED indicators can indicate the current operating state of the system by blinking in different types. ESP-IoT-Solution provides an LED indicator component with the following features: -* Can define multiple groups of different blink types -* Can define the priority of blink types -* Can set up multiple indicators -* LEDC and other drivers support adjustable brightness, gradient -* Support adjustment light with gamma -* Supports LED strips types like WS2812 and SK6812, and offers gradual color transitions based on the color wheel, brightness transitions, and the ability to specify LED index. +* Can define multiple groups of different blink types. +* Can define the priority of blink types. +* Can set up multiple indicators. +* LEDC and other drivers support adjustable brightness, gradient. +* Support adjustment light with gamma. +* Supports LED strips types like WS2812 and SK6812, and offers gradual color transitions based on the color wheel, brightness. transitions, and the ability to specify LED index. ### Support LED Types diff --git a/components/led/led_indicator/test_apps/pytest_led_indicator.py b/components/led/led_indicator/test_apps/pytest_led_indicator.py index ff1fa5543..f380b77cf 100644 --- a/components/led/led_indicator/test_apps/pytest_led_indicator.py +++ b/components/led/led_indicator/test_apps/pytest_led_indicator.py @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD +# SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD #SPDX-License-Identifier: Apache-2.0 import pytest @@ -6,5 +6,6 @@ @pytest.mark.target('esp32s3') @pytest.mark.env('led_indicator') +@pytest.mark.timeout(1000) def test_led_indicator(dut: Dut)-> None: dut.run_all_single_board_cases(timeout = 1000)