From e3deff029fea023439aa314b15ffe70a051f5a3e Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Tue, 11 Oct 2022 18:58:33 -0400 Subject: [PATCH] Fix build system unit tests (#23132) * Fix build system unit tests * Also fix iterable import (python 3.8 failure reported by Ian) --- scripts/build/build/target.py | 3 +-- scripts/build/testdata/all_targets_linux_x64.txt | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/build/build/target.py b/scripts/build/build/target.py index c90a603cddeb9e..b31de44d514b20 100644 --- a/scripts/build/build/target.py +++ b/scripts/build/build/target.py @@ -43,9 +43,8 @@ import os import re -from collections.abc import Iterable from dataclasses import dataclass -from typing import Any, Dict, List, Optional +from typing import Any, Dict, List, Iterable, Optional @dataclass(init=False) diff --git a/scripts/build/testdata/all_targets_linux_x64.txt b/scripts/build/testdata/all_targets_linux_x64.txt index f9f35c964e9400..74d46221b04d61 100644 --- a/scripts/build/testdata/all_targets_linux_x64.txt +++ b/scripts/build/testdata/all_targets_linux_x64.txt @@ -12,7 +12,7 @@ linux-{x64,arm64}-{rpc-console,all-clusters,all-clusters-minimal,chip-tool,therm linux-x64-efr32-test-runner[-clang] imx-{chip-tool,lighting-app,thermostat,all-clusters-app,all-clusters-minimal-app,ota-provider-app}[-release] infineon-psoc6-{lock,light,all-clusters,all-clusters-minimal}[-ota][-updateimage] -k32w-{light,shell,lock,contact}[-no-ota][-low-power][-nologs] +k32w-{light,shell,lock,contact}[-se05x][-no-ble][-no-ota][-low-power][-nologs] mbed-cy8cproto_062_4343w-{lock,light,all-clusters,all-clusters-minimal,pigweed,shell}[-release][-develop][-debug] mw320-all-clusters-app nrf-{nrf5340dk,nrf52840dk,nrf52840dongle}-{all-clusters,all-clusters-minimal,lock,light,shell,pump,pump-controller}[-rpc]