From b3bbcd3b454a080a438d8c557d9a3da90c402a2c Mon Sep 17 00:00:00 2001 From: gongyantao Date: Wed, 14 Aug 2024 11:06:35 +0800 Subject: [PATCH 1/2] fix(bt): remove redundant space in hid example path --- .../bluetooth/bluedroid/classic_bt/pytest_classic_bt_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/bluetooth/bluedroid/classic_bt/pytest_classic_bt_test.py b/examples/bluetooth/bluedroid/classic_bt/pytest_classic_bt_test.py index d2dbcec0e2..07e1e27f31 100644 --- a/examples/bluetooth/bluedroid/classic_bt/pytest_classic_bt_test.py +++ b/examples/bluetooth/bluedroid/classic_bt/pytest_classic_bt_test.py @@ -114,8 +114,8 @@ def test_bt_hfp(app_path: str, dut: Tuple[IdfDut, IdfDut]) -> None: @pytest.mark.parametrize( 'count, app_path, target, config', [ (2, - f'{os.path.join(os.path.dirname(__file__), "bt_hid_mouse_device")}| \ - {os.path.join(os.path.abspath(os.path.join(os.path.dirname(__file__), "../..")), "esp_hid_host")}', + f'{os.path.join(os.path.dirname(__file__), "bt_hid_mouse_device")}|' + f'{os.path.join(os.path.abspath(os.path.join(os.path.dirname(__file__), "../..")), "esp_hid_host")}', 'esp32|esp32', 'test'), ], indirect=True, From fd42618e369930c05da2d21e08652243fd68a9be Mon Sep 17 00:00:00 2001 From: gongyantao Date: Wed, 14 Aug 2024 19:33:51 +0800 Subject: [PATCH 2/2] fix(ci): disable ci test when target is not support classic bluetooth --- examples/bluetooth/.build-test-rules.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/examples/bluetooth/.build-test-rules.yml b/examples/bluetooth/.build-test-rules.yml index 228f8dff46..7725cf9884 100644 --- a/examples/bluetooth/.build-test-rules.yml +++ b/examples/bluetooth/.build-test-rules.yml @@ -141,6 +141,14 @@ examples/bluetooth/esp_ble_mesh/wifi_coexist: - examples/bluetooth/esp_ble_mesh/common_components/**/* - components/driver/gpio/**/* +examples/bluetooth/esp_hid_host: + disable_test: + - if: IDF_TARGET in ["esp32c2", "esp32c3", "esp32c5", "esp32c6", "esp32h2", "esp32s3"] + temporary: true + reason: temporarily test esp32 + disable: + - if: SOC_BT_SUPPORTED != 1 + examples/bluetooth/hci: <<: *bt_default_depends enable: