diff --git a/.github/workflows/compliance.yml b/.github/workflows/compliance.yml index 3a5fc4f9ab..3fb45e4a01 100644 --- a/.github/workflows/compliance.yml +++ b/.github/workflows/compliance.yml @@ -61,7 +61,7 @@ jobs: - name: upload-results uses: actions/upload-artifact@v3 - continue-on-error: True + continue-on-error: true with: name: compliance.xml path: compliance.xml diff --git a/.github/workflows/issue_count.yml b/.github/workflows/issue_count.yml index 314daafd21..5f3b28c1b9 100644 --- a/.github/workflows/issue_count.yml +++ b/.github/workflows/issue_count.yml @@ -36,7 +36,7 @@ jobs: - name: upload-stats uses: actions/upload-artifact@v3 - continue-on-error: True + continue-on-error: true with: name: ${{ env.OUTPUT_FILE_NAME }} path: ${{ env.OUTPUT_FILE_NAME }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5caecb9c68..6e266b76a3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: - name: upload-results uses: actions/upload-artifact@v3 - continue-on-error: True + continue-on-error: true with: name: zephyr-${{ steps.get_version.outputs.VERSION }}.spdx path: zephyr-${{ steps.get_version.outputs.VERSION }}.spdx diff --git a/samples/application_development/sysbuild/with_mcuboot/sample.yaml b/samples/application_development/sysbuild/with_mcuboot/sample.yaml index 0905b87d14..e454543224 100644 --- a/samples/application_development/sysbuild/with_mcuboot/sample.yaml +++ b/samples/application_development/sysbuild/with_mcuboot/sample.yaml @@ -3,7 +3,7 @@ sample: name: with mcuboot tests: sample.application_development.sysbuild.with_mcuboot: - sysbuild: True + sysbuild: true # Platform allowed is used as twister using sysbuild still lacks proper # filtering support, see discussion in #49552. platform_allow: reel_board nrf52840dk_nrf52840 diff --git a/samples/arch/smp/pi/sample.yaml b/samples/arch/smp/pi/sample.yaml index 152982dda0..30e6948a7a 100644 --- a/samples/arch/smp/pi/sample.yaml +++ b/samples/arch/smp/pi/sample.yaml @@ -9,7 +9,7 @@ common: harness: console harness_config: type: multi_line - ordered: yes + ordered: true regex: - "Calculate first [0-9]+ digits of Pi independently by [0-9]+ threads.(.*)" - "Pi value calculated by thread #[0-9]+: [0-9]+(.*)" diff --git a/samples/arch/smp/pktqueue/sample.yaml b/samples/arch/smp/pktqueue/sample.yaml index 6dfed998ef..b802e4f65e 100644 --- a/samples/arch/smp/pktqueue/sample.yaml +++ b/samples/arch/smp/pktqueue/sample.yaml @@ -7,7 +7,7 @@ common: harness: console harness_config: type: multi_line - ordered: yes + ordered: true regex: - "RESULT: OK(.*)" diff --git a/samples/boards/mec15xxevb_assy6853/power_management/sample.yaml b/samples/boards/mec15xxevb_assy6853/power_management/sample.yaml index 909cb15e2a..7f69d920d9 100644 --- a/samples/boards/mec15xxevb_assy6853/power_management/sample.yaml +++ b/samples/boards/mec15xxevb_assy6853/power_management/sample.yaml @@ -7,7 +7,7 @@ tests: harness: console harness_config: type: multi_line - ordered: False + ordered: false regex: - "Wake from Light Sleep" - "Wake from Deep Sleep" diff --git a/samples/drivers/ipm/ipm_mcux/sample.yaml b/samples/drivers/ipm/ipm_mcux/sample.yaml index 3603aa2123..a25149da00 100644 --- a/samples/drivers/ipm/ipm_mcux/sample.yaml +++ b/samples/drivers/ipm/ipm_mcux/sample.yaml @@ -9,7 +9,7 @@ tests: - lpcxpresso54114_m4 tags: ipm harness: console - sysbuild: True + sysbuild: true harness_config: type: multi_line regex: diff --git a/samples/net/sockets/can/sample.yaml b/samples/net/sockets/can/sample.yaml index 1bbae58439..8bfff2a420 100644 --- a/samples/net/sockets/can/sample.yaml +++ b/samples/net/sockets/can/sample.yaml @@ -11,7 +11,7 @@ tests: - CONFIG_NET_SOCKETS_CAN_RECEIVERS=1 harness_config: type: multi_line - ordered: True + ordered: true regex: - "(.*)\\[0\\] CAN frame: IDE 0x0 RTR 0x0 ID 0x1 DLC 0x8" - "(.*)f0 f1 f2 f3 f4 f5 f6 f7" @@ -20,7 +20,7 @@ tests: - CONFIG_NET_SOCKETS_CAN_RECEIVERS=2 harness_config: type: multi_line - ordered: True + ordered: true regex: - "(.*)\\[0\\] CAN frame: IDE 0x0 RTR 0x0 ID 0x1 DLC 0x8" - "(.*)f0 f1 f2 f3 f4 f5 f6 f7" diff --git a/samples/sensor/hts221/sample.yaml b/samples/sensor/hts221/sample.yaml index 203845cf45..48ca6b279a 100644 --- a/samples/sensor/hts221/sample.yaml +++ b/samples/sensor/hts221/sample.yaml @@ -9,7 +9,7 @@ common: depends_on: i2c hts221 harness_config: type: multi_line - ordered: yes + ordered: true regex: - "Observation:(.*)" - "Temperature:(.*) C" diff --git a/samples/sensor/lps22hb/sample.yaml b/samples/sensor/lps22hb/sample.yaml index eedeff23e1..12fea07812 100644 --- a/samples/sensor/lps22hb/sample.yaml +++ b/samples/sensor/lps22hb/sample.yaml @@ -7,7 +7,7 @@ tests: depends_on: i2c lps22hb harness_config: type: multi_line - ordered: yes + ordered: true regex: - "Temperature: (.*)" - "Relative Humidity: (.*)" diff --git a/samples/sensor/lps22hh/sample.yaml b/samples/sensor/lps22hh/sample.yaml index a391fdf725..1feb36cbaa 100644 --- a/samples/sensor/lps22hh/sample.yaml +++ b/samples/sensor/lps22hh/sample.yaml @@ -8,7 +8,7 @@ tests: filter: dt_compat_enabled("st,lps22hh") harness_config: type: multi_line - ordered: yes + ordered: true regex: - "Temperature: (.*)" - "Pressure: (.*)" diff --git a/samples/sensor/lps22hh_i3c/sample.yaml b/samples/sensor/lps22hh_i3c/sample.yaml index 67b2851da2..1923335be1 100644 --- a/samples/sensor/lps22hh_i3c/sample.yaml +++ b/samples/sensor/lps22hh_i3c/sample.yaml @@ -9,7 +9,7 @@ tests: build_only: true harness_config: type: multi_line - ordered: yes + ordered: true regex: - "Temperature: (.*)" - "Pressure: (.*)" diff --git a/samples/subsys/ipc/openamp/sample.yaml b/samples/subsys/ipc/openamp/sample.yaml index 9e1a10801b..d1fe1eb5da 100644 --- a/samples/subsys/ipc/openamp/sample.yaml +++ b/samples/subsys/ipc/openamp/sample.yaml @@ -9,7 +9,7 @@ tests: - mps2_an521 tags: ipm harness: console - sysbuild: True + sysbuild: true harness_config: type: multi_line regex: diff --git a/samples/subsys/usb/dfu/sample.yaml b/samples/subsys/usb/dfu/sample.yaml index 7a6d0108ab..7c846c0558 100644 --- a/samples/subsys/usb/dfu/sample.yaml +++ b/samples/subsys/usb/dfu/sample.yaml @@ -2,7 +2,7 @@ sample: name: USB DFU sample common: - build_only: True + build_only: true platform_exclude: native_posix native_posix_64 mimxrt1010_evk mimxrt1050_evk_qspi mimxrt1020_evk mimxrt1015_evk mimxrt1060_evk sam4l_ek mimxrt1050_evk mimxrt1060_evk_hyperflash nucleo_f207zg teensy40 teensy41 diff --git a/samples/subsys/usb/mass/sample.yaml b/samples/subsys/usb/mass/sample.yaml index 9ec6994b4c..4b28d0ec99 100644 --- a/samples/subsys/usb/mass/sample.yaml +++ b/samples/subsys/usb/mass/sample.yaml @@ -11,7 +11,7 @@ tests: harness: console harness_config: type: multi_line - ordered: True + ordered: true regex: - "No file system selected" - "The device is put in USB mass storage mode." @@ -26,7 +26,7 @@ tests: harness: console harness_config: type: multi_line - ordered: True + ordered: true regex: - "End of files" - "The device is put in USB mass storage mode." @@ -46,7 +46,7 @@ tests: harness: console harness_config: type: multi_line - ordered: True + ordered: true regex: - "End of files" - "The device is put in USB mass storage mode." @@ -63,7 +63,7 @@ tests: harness_config: fixture: fixture_sdcard type: multi_line - ordered: True + ordered: true regex: - "End of files" - "The device is put in USB mass storage mode." @@ -83,7 +83,7 @@ tests: harness: console harness_config: type: multi_line - ordered: True + ordered: true regex: - "End of files" - "The device is put in USB mass storage mode." diff --git a/scripts/schemas/twister/hwmap-schema.yaml b/scripts/schemas/twister/hwmap-schema.yaml index 84fbb8e8ee..2759bb0b32 100644 --- a/scripts/schemas/twister/hwmap-schema.yaml +++ b/scripts/schemas/twister/hwmap-schema.yaml @@ -1,7 +1,7 @@ type: seq sequence: - type: map - required: no + required: false mapping: "available": type: bool @@ -52,6 +52,6 @@ sequence: required: false "fixtures": type: seq - required: no + required: false sequence: - type: str diff --git a/scripts/schemas/twister/quarantine-schema.yaml b/scripts/schemas/twister/quarantine-schema.yaml index 293bbe4921..3bead13020 100644 --- a/scripts/schemas/twister/quarantine-schema.yaml +++ b/scripts/schemas/twister/quarantine-schema.yaml @@ -11,7 +11,7 @@ type: seq matching: all sequence: - type: map - required: yes + required: true matching: all mapping: "scenarios": @@ -19,13 +19,13 @@ sequence: required: true sequence: - type: str - - unique: True + - unique: true "platforms": required: true type: seq sequence: - type: str - - unique: True + - unique: true "comment": type: str required: false diff --git a/scripts/tests/twister/test_data/testsuites/tests/test_a/test_data.yaml b/scripts/tests/twister/test_data/testsuites/tests/test_a/test_data.yaml index 595dfc1a1a..98808c4d85 100644 --- a/scripts/tests/twister/test_data/testsuites/tests/test_a/test_data.yaml +++ b/scripts/tests/twister/test_data/testsuites/tests/test_a/test_data.yaml @@ -1,7 +1,7 @@ tests: test_a.check_1: tags: test_a - build_only: True + build_only: true test_a.check_2: extra_args: CONF_FILE="test.conf" tags: test_a diff --git a/scripts/tests/twister/test_data/testsuites/tests/test_d/test_data.yaml b/scripts/tests/twister/test_data/testsuites/tests/test_d/test_data.yaml index 726a3b3a04..0b2f69fb84 100644 --- a/scripts/tests/twister/test_data/testsuites/tests/test_d/test_data.yaml +++ b/scripts/tests/twister/test_data/testsuites/tests/test_d/test_data.yaml @@ -1,4 +1,4 @@ tests: test_d.check_1: tags: test_d - build_only: True + build_only: true diff --git a/tests/arch/x86/static_idt/testcase.yaml b/tests/arch/x86/static_idt/testcase.yaml index a946fb45be..a29bece3bc 100644 --- a/tests/arch/x86/static_idt/testcase.yaml +++ b/tests/arch/x86/static_idt/testcase.yaml @@ -1,6 +1,6 @@ tests: arch.x86.interrupt: - ignore_faults: True + ignore_faults: true arch_allow: x86 filter: not CONFIG_X86_64 tags: interrupt idt diff --git a/tests/boot/test_mcuboot/testcase.yaml b/tests/boot/test_mcuboot/testcase.yaml index 298afb327d..927d20aed9 100644 --- a/tests/boot/test_mcuboot/testcase.yaml +++ b/tests/boot/test_mcuboot/testcase.yaml @@ -1,5 +1,5 @@ common: - sysbuild: True + sysbuild: true harness: console harness_config: type: multi_line diff --git a/tests/drivers/coredump/coredump_api/testcase.yaml b/tests/drivers/coredump/coredump_api/testcase.yaml index de11d3b473..c4e3e1db6f 100644 --- a/tests/drivers/coredump/coredump_api/testcase.yaml +++ b/tests/drivers/coredump/coredump_api/testcase.yaml @@ -3,8 +3,8 @@ common: tags: coredump - ignore_faults: True - ignore_qemu_crash: True + ignore_faults: true + ignore_qemu_crash: true tests: drivers.coredump.api.qemu_riscv32: filter: CONFIG_ARCH_SUPPORTS_COREDUMP diff --git a/tests/kernel/condvar/condvar_api/testcase.yaml b/tests/kernel/condvar/condvar_api/testcase.yaml index e18b7bed72..28621ffb6b 100644 --- a/tests/kernel/condvar/condvar_api/testcase.yaml +++ b/tests/kernel/condvar/condvar_api/testcase.yaml @@ -1,4 +1,4 @@ tests: kernel.condvar: - ignore_faults: True + ignore_faults: true tags: kernel userspace condition_variables diff --git a/tests/kernel/events/sys_event/testcase.yaml b/tests/kernel/events/sys_event/testcase.yaml index ba448dc3c2..d724826001 100644 --- a/tests/kernel/events/sys_event/testcase.yaml +++ b/tests/kernel/events/sys_event/testcase.yaml @@ -2,4 +2,4 @@ tests: kernel.events.usage: filter: CONFIG_ARCH_HAS_USERSPACE tags: kernel userspace - ignore_faults: True + ignore_faults: true diff --git a/tests/kernel/fatal/exception/testcase.yaml b/tests/kernel/fatal/exception/testcase.yaml index e47960083c..b9304c3691 100644 --- a/tests/kernel/fatal/exception/testcase.yaml +++ b/tests/kernel/fatal/exception/testcase.yaml @@ -1,5 +1,5 @@ common: - ignore_faults: True + ignore_faults: true tests: kernel.common.stack_protection: extra_args: CONF_FILE=prj.conf diff --git a/tests/kernel/fatal/no-multithreading/testcase.yaml b/tests/kernel/fatal/no-multithreading/testcase.yaml index e74293ecd0..c67ee790ba 100644 --- a/tests/kernel/fatal/no-multithreading/testcase.yaml +++ b/tests/kernel/fatal/no-multithreading/testcase.yaml @@ -5,7 +5,7 @@ common: - qemu_cortex_m3 - nsim_em tags: kernel scheduler - ignore_faults: True + ignore_faults: true tests: kernel.no-mt.cpu_exception: extra_args: EXTRA_CPPFLAGS=-DVIA_TWISTER=0 diff --git a/tests/kernel/mem_protect/demand_paging/testcase.yaml b/tests/kernel/mem_protect/demand_paging/testcase.yaml index d04bc41cc1..e1b8f4e3cd 100644 --- a/tests/kernel/mem_protect/demand_paging/testcase.yaml +++ b/tests/kernel/mem_protect/demand_paging/testcase.yaml @@ -1,5 +1,5 @@ common: - ignore_faults: True + ignore_faults: true tests: kernel.demand_paging: tags: kernel mmu demand_paging