From 7bbcee3cf09a08199b3ffefb6c5e37208cba5f0a Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 18 Jan 2024 16:32:31 +1100 Subject: [PATCH] tests: Move port-specific test directories into tests/ports/ directory. To keep them all together, mirroring the top-level directory structure. Signed-off-by: Damien George --- tests/{wipy => ports/cc3200}/adc.py | 0 tests/{wipy => ports/cc3200}/adc.py.exp | 0 tests/{wipy => ports/cc3200}/i2c.py | 0 tests/{wipy => ports/cc3200}/i2c.py.exp | 0 tests/{wipy => ports/cc3200}/modwipy.py | 0 tests/{wipy => ports/cc3200}/modwipy.py.exp | 0 tests/{wipy => ports/cc3200}/os.py | 0 tests/{wipy => ports/cc3200}/os.py.exp | 0 tests/{wipy => ports/cc3200}/pin.py | 0 tests/{wipy => ports/cc3200}/pin.py.exp | 0 tests/{wipy => ports/cc3200}/pin_irq.py | 0 tests/{wipy => ports/cc3200}/pin_irq.py.exp | 0 tests/{wipy => ports/cc3200}/reset/reset.py | 0 tests/{wipy => ports/cc3200}/reset/reset.py.exp | 0 tests/{wipy => ports/cc3200}/rtc.py | 0 tests/{wipy => ports/cc3200}/rtc.py.exp | 0 tests/{wipy => ports/cc3200}/sd.py | 0 tests/{wipy => ports/cc3200}/sd.py.exp | 0 tests/{wipy => ports/cc3200}/skipped/rtc_irq.py | 0 tests/{wipy => ports/cc3200}/skipped/rtc_irq.py.exp | 0 tests/{wipy => ports/cc3200}/spi.py | 0 tests/{wipy => ports/cc3200}/spi.py.exp | 0 tests/{wipy => ports/cc3200}/time.py | 0 tests/{wipy => ports/cc3200}/time.py.exp | 0 tests/{wipy => ports/cc3200}/timer.py | 0 tests/{wipy => ports/cc3200}/timer.py.exp | 0 tests/{wipy => ports/cc3200}/uart.py | 0 tests/{wipy => ports/cc3200}/uart.py.exp | 0 tests/{wipy => ports/cc3200}/uart_irq.py | 0 tests/{wipy => ports/cc3200}/uart_irq.py.exp | 0 tests/{wipy => ports/cc3200}/wdt.py | 0 tests/{wipy => ports/cc3200}/wdt.py.exp | 0 tests/{wipy => ports/cc3200}/wlan/machine.py | 0 tests/{wipy => ports/cc3200}/wlan/machine.py.exp | 0 tests/{wipy => ports/cc3200}/wlan/server.py | 0 tests/{wipy => ports/cc3200}/wlan/server.py.exp | 0 tests/{wipy => ports/cc3200}/wlan/wlan.py | 0 tests/{wipy => ports/cc3200}/wlan/wlan.py.exp | 0 tests/{ => ports}/esp32/check_err_str.py | 0 tests/{ => ports}/esp32/check_err_str.py.exp | 0 tests/{ => ports}/esp32/esp32_idf_heap_info.py | 0 tests/{ => ports}/esp32/esp32_idf_heap_info.py.exp | 0 tests/{ => ports}/esp32/esp32_nvs.py | 0 tests/{ => ports}/esp32/esp32_nvs.py.exp | 0 tests/{ => ports}/esp32/partition_ota.py | 0 tests/{ => ports}/esp32/partition_ota.py.exp | 0 tests/{ => ports}/esp32/resolve_on_connect.py | 0 tests/{ => ports}/qemu-arm/asm_test.py | 0 tests/{ => ports}/qemu-arm/asm_test.py.exp | 0 tests/{ => ports}/qemu-arm/native_test.py | 0 tests/{ => ports}/qemu-arm/native_test.py.exp | 0 tests/{ => ports}/qemu-arm/viper_test.py | 0 tests/{ => ports}/qemu-arm/viper_test.py.exp | 0 tests/{ => ports}/renesas-ra/freq.py | 0 tests/{ => ports}/renesas-ra/freq.py.exp | 0 tests/{ => ports}/renesas-ra/i2c.py | 0 tests/{ => ports}/renesas-ra/i2c.py.exp | 0 tests/{pyb => ports/renesas-ra}/modtime.py | 0 tests/{pyb => ports/renesas-ra}/modtime.py.exp | 0 tests/{ => ports}/renesas-ra/pin.py | 0 tests/{ => ports}/renesas-ra/pin.py.exp | 0 tests/{ => ports}/renesas-ra/rtc_init.py | 0 tests/{ => ports}/renesas-ra/rtc_init.py.exp | 0 tests/{ => ports}/renesas-ra/spi.py | 0 tests/{ => ports}/renesas-ra/spi.py.exp | 0 tests/{ => ports}/renesas-ra/uart1.py | 0 tests/{ => ports}/renesas-ra/uart1.py.exp | 0 tests/{pyb => ports/stm32}/accel.py | 0 tests/{pyb => ports/stm32}/accel.py.exp | 0 tests/{pyb => ports/stm32}/adc.py | 0 tests/{pyb => ports/stm32}/adc.py.exp | 0 tests/{pyb => ports/stm32}/adcall.py | 0 tests/{pyb => ports/stm32}/adcall.py.exp | 0 tests/{pyb => ports/stm32}/board_pybv1x.py | 0 tests/{pyb => ports/stm32}/board_pybv1x.py.exp | 0 tests/{pyb => ports/stm32}/can.py | 0 tests/{pyb => ports/stm32}/can.py.exp | 0 tests/{pyb => ports/stm32}/can2.py | 0 tests/{pyb => ports/stm32}/can2.py.exp | 0 tests/{pyb => ports/stm32}/dac.py | 0 tests/{pyb => ports/stm32}/dac.py.exp | 0 tests/{pyb => ports/stm32}/extint.py | 0 tests/{pyb => ports/stm32}/extint.py.exp | 0 tests/{pyb => ports/stm32}/i2c.py | 0 tests/{pyb => ports/stm32}/i2c.py.exp | 0 tests/{pyb => ports/stm32}/i2c_accel.py | 0 tests/{pyb => ports/stm32}/i2c_accel.py.exp | 0 tests/{pyb => ports/stm32}/i2c_error.py | 0 tests/{pyb => ports/stm32}/i2c_error.py.exp | 0 tests/{pyb => ports/stm32}/irq.py | 0 tests/{pyb => ports/stm32}/irq.py.exp | 0 tests/{pyb => ports/stm32}/led.py | 0 tests/{pyb => ports/stm32}/led.py.exp | 0 tests/{pyb => ports/stm32}/modstm.py | 0 tests/{pyb => ports/stm32}/modstm.py.exp | 0 tests/{renesas-ra => ports/stm32}/modtime.py | 0 tests/{renesas-ra => ports/stm32}/modtime.py.exp | 0 tests/{pyb => ports/stm32}/pin.py | 0 tests/{pyb => ports/stm32}/pin.py.exp | 0 tests/{pyb => ports/stm32}/pyb1.py | 0 tests/{pyb => ports/stm32}/pyb1.py.exp | 0 tests/{pyb => ports/stm32}/pyb_f405.py | 0 tests/{pyb => ports/stm32}/pyb_f405.py.exp | 0 tests/{pyb => ports/stm32}/pyb_f411.py | 0 tests/{pyb => ports/stm32}/pyb_f411.py.exp | 0 tests/{pyb => ports/stm32}/rtc.py | 0 tests/{pyb => ports/stm32}/rtc.py.exp | 0 tests/{pyb => ports/stm32}/servo.py | 0 tests/{pyb => ports/stm32}/servo.py.exp | 0 tests/{pyb => ports/stm32}/spi.py | 0 tests/{pyb => ports/stm32}/spi.py.exp | 0 tests/{pyb => ports/stm32}/switch.py | 0 tests/{pyb => ports/stm32}/switch.py.exp | 0 tests/{pyb => ports/stm32}/timer.py | 0 tests/{pyb => ports/stm32}/timer.py.exp | 0 tests/{pyb => ports/stm32}/timer_callback.py | 0 tests/{pyb => ports/stm32}/timer_callback.py.exp | 0 tests/{pyb => ports/stm32}/uart.py | 0 tests/{pyb => ports/stm32}/uart.py.exp | 0 tests/{ => ports}/unix/extra_coverage.py | 0 tests/{ => ports}/unix/extra_coverage.py.exp | 0 tests/{ => ports}/unix/ffi_callback.py | 0 tests/{ => ports}/unix/ffi_callback.py.exp | 0 tests/{ => ports}/unix/ffi_float.py | 0 tests/{ => ports}/unix/ffi_float.py.exp | 0 tests/{ => ports}/unix/ffi_float2.py | 0 tests/{ => ports}/unix/ffi_float2.py.exp | 0 tests/{ => ports}/unix/ffi_lib.c | 0 tests/{ => ports}/unix/ffi_types.py | 0 tests/{ => ports}/unix/ffi_types.py.exp | 0 tests/{ => ports}/unix/mod_os.py | 0 tests/{ => ports}/unix/mod_os.py.exp | 0 tests/{ => ports}/unix/time_mktime_localtime.py | 0 tests/run-tests.py | 12 ++++++------ tools/ci.sh | 2 +- 135 files changed, 7 insertions(+), 7 deletions(-) rename tests/{wipy => ports/cc3200}/adc.py (100%) rename tests/{wipy => ports/cc3200}/adc.py.exp (100%) rename tests/{wipy => ports/cc3200}/i2c.py (100%) rename tests/{wipy => ports/cc3200}/i2c.py.exp (100%) rename tests/{wipy => ports/cc3200}/modwipy.py (100%) rename tests/{wipy => ports/cc3200}/modwipy.py.exp (100%) rename tests/{wipy => ports/cc3200}/os.py (100%) rename tests/{wipy => ports/cc3200}/os.py.exp (100%) rename tests/{wipy => ports/cc3200}/pin.py (100%) rename tests/{wipy => ports/cc3200}/pin.py.exp (100%) rename tests/{wipy => ports/cc3200}/pin_irq.py (100%) rename tests/{wipy => ports/cc3200}/pin_irq.py.exp (100%) rename tests/{wipy => ports/cc3200}/reset/reset.py (100%) rename tests/{wipy => ports/cc3200}/reset/reset.py.exp (100%) rename tests/{wipy => ports/cc3200}/rtc.py (100%) rename tests/{wipy => ports/cc3200}/rtc.py.exp (100%) rename tests/{wipy => ports/cc3200}/sd.py (100%) rename tests/{wipy => ports/cc3200}/sd.py.exp (100%) rename tests/{wipy => ports/cc3200}/skipped/rtc_irq.py (100%) rename tests/{wipy => ports/cc3200}/skipped/rtc_irq.py.exp (100%) rename tests/{wipy => ports/cc3200}/spi.py (100%) rename tests/{wipy => ports/cc3200}/spi.py.exp (100%) rename tests/{wipy => ports/cc3200}/time.py (100%) rename tests/{wipy => ports/cc3200}/time.py.exp (100%) rename tests/{wipy => ports/cc3200}/timer.py (100%) rename tests/{wipy => ports/cc3200}/timer.py.exp (100%) rename tests/{wipy => ports/cc3200}/uart.py (100%) rename tests/{wipy => ports/cc3200}/uart.py.exp (100%) rename tests/{wipy => ports/cc3200}/uart_irq.py (100%) rename tests/{wipy => ports/cc3200}/uart_irq.py.exp (100%) rename tests/{wipy => ports/cc3200}/wdt.py (100%) rename tests/{wipy => ports/cc3200}/wdt.py.exp (100%) rename tests/{wipy => ports/cc3200}/wlan/machine.py (100%) rename tests/{wipy => ports/cc3200}/wlan/machine.py.exp (100%) rename tests/{wipy => ports/cc3200}/wlan/server.py (100%) rename tests/{wipy => ports/cc3200}/wlan/server.py.exp (100%) rename tests/{wipy => ports/cc3200}/wlan/wlan.py (100%) rename tests/{wipy => ports/cc3200}/wlan/wlan.py.exp (100%) rename tests/{ => ports}/esp32/check_err_str.py (100%) rename tests/{ => ports}/esp32/check_err_str.py.exp (100%) rename tests/{ => ports}/esp32/esp32_idf_heap_info.py (100%) rename tests/{ => ports}/esp32/esp32_idf_heap_info.py.exp (100%) rename tests/{ => ports}/esp32/esp32_nvs.py (100%) rename tests/{ => ports}/esp32/esp32_nvs.py.exp (100%) rename tests/{ => ports}/esp32/partition_ota.py (100%) rename tests/{ => ports}/esp32/partition_ota.py.exp (100%) rename tests/{ => ports}/esp32/resolve_on_connect.py (100%) rename tests/{ => ports}/qemu-arm/asm_test.py (100%) rename tests/{ => ports}/qemu-arm/asm_test.py.exp (100%) rename tests/{ => ports}/qemu-arm/native_test.py (100%) rename tests/{ => ports}/qemu-arm/native_test.py.exp (100%) rename tests/{ => ports}/qemu-arm/viper_test.py (100%) rename tests/{ => ports}/qemu-arm/viper_test.py.exp (100%) rename tests/{ => ports}/renesas-ra/freq.py (100%) rename tests/{ => ports}/renesas-ra/freq.py.exp (100%) rename tests/{ => ports}/renesas-ra/i2c.py (100%) rename tests/{ => ports}/renesas-ra/i2c.py.exp (100%) rename tests/{pyb => ports/renesas-ra}/modtime.py (100%) rename tests/{pyb => ports/renesas-ra}/modtime.py.exp (100%) rename tests/{ => ports}/renesas-ra/pin.py (100%) rename tests/{ => ports}/renesas-ra/pin.py.exp (100%) rename tests/{ => ports}/renesas-ra/rtc_init.py (100%) rename tests/{ => ports}/renesas-ra/rtc_init.py.exp (100%) rename tests/{ => ports}/renesas-ra/spi.py (100%) rename tests/{ => ports}/renesas-ra/spi.py.exp (100%) rename tests/{ => ports}/renesas-ra/uart1.py (100%) rename tests/{ => ports}/renesas-ra/uart1.py.exp (100%) rename tests/{pyb => ports/stm32}/accel.py (100%) rename tests/{pyb => ports/stm32}/accel.py.exp (100%) rename tests/{pyb => ports/stm32}/adc.py (100%) rename tests/{pyb => ports/stm32}/adc.py.exp (100%) rename tests/{pyb => ports/stm32}/adcall.py (100%) rename tests/{pyb => ports/stm32}/adcall.py.exp (100%) rename tests/{pyb => ports/stm32}/board_pybv1x.py (100%) rename tests/{pyb => ports/stm32}/board_pybv1x.py.exp (100%) rename tests/{pyb => ports/stm32}/can.py (100%) rename tests/{pyb => ports/stm32}/can.py.exp (100%) rename tests/{pyb => ports/stm32}/can2.py (100%) rename tests/{pyb => ports/stm32}/can2.py.exp (100%) rename tests/{pyb => ports/stm32}/dac.py (100%) rename tests/{pyb => ports/stm32}/dac.py.exp (100%) rename tests/{pyb => ports/stm32}/extint.py (100%) rename tests/{pyb => ports/stm32}/extint.py.exp (100%) rename tests/{pyb => ports/stm32}/i2c.py (100%) rename tests/{pyb => ports/stm32}/i2c.py.exp (100%) rename tests/{pyb => ports/stm32}/i2c_accel.py (100%) rename tests/{pyb => ports/stm32}/i2c_accel.py.exp (100%) rename tests/{pyb => ports/stm32}/i2c_error.py (100%) rename tests/{pyb => ports/stm32}/i2c_error.py.exp (100%) rename tests/{pyb => ports/stm32}/irq.py (100%) rename tests/{pyb => ports/stm32}/irq.py.exp (100%) rename tests/{pyb => ports/stm32}/led.py (100%) rename tests/{pyb => ports/stm32}/led.py.exp (100%) rename tests/{pyb => ports/stm32}/modstm.py (100%) rename tests/{pyb => ports/stm32}/modstm.py.exp (100%) rename tests/{renesas-ra => ports/stm32}/modtime.py (100%) rename tests/{renesas-ra => ports/stm32}/modtime.py.exp (100%) rename tests/{pyb => ports/stm32}/pin.py (100%) rename tests/{pyb => ports/stm32}/pin.py.exp (100%) rename tests/{pyb => ports/stm32}/pyb1.py (100%) rename tests/{pyb => ports/stm32}/pyb1.py.exp (100%) rename tests/{pyb => ports/stm32}/pyb_f405.py (100%) rename tests/{pyb => ports/stm32}/pyb_f405.py.exp (100%) rename tests/{pyb => ports/stm32}/pyb_f411.py (100%) rename tests/{pyb => ports/stm32}/pyb_f411.py.exp (100%) rename tests/{pyb => ports/stm32}/rtc.py (100%) rename tests/{pyb => ports/stm32}/rtc.py.exp (100%) rename tests/{pyb => ports/stm32}/servo.py (100%) rename tests/{pyb => ports/stm32}/servo.py.exp (100%) rename tests/{pyb => ports/stm32}/spi.py (100%) rename tests/{pyb => ports/stm32}/spi.py.exp (100%) rename tests/{pyb => ports/stm32}/switch.py (100%) rename tests/{pyb => ports/stm32}/switch.py.exp (100%) rename tests/{pyb => ports/stm32}/timer.py (100%) rename tests/{pyb => ports/stm32}/timer.py.exp (100%) rename tests/{pyb => ports/stm32}/timer_callback.py (100%) rename tests/{pyb => ports/stm32}/timer_callback.py.exp (100%) rename tests/{pyb => ports/stm32}/uart.py (100%) rename tests/{pyb => ports/stm32}/uart.py.exp (100%) rename tests/{ => ports}/unix/extra_coverage.py (100%) rename tests/{ => ports}/unix/extra_coverage.py.exp (100%) rename tests/{ => ports}/unix/ffi_callback.py (100%) rename tests/{ => ports}/unix/ffi_callback.py.exp (100%) rename tests/{ => ports}/unix/ffi_float.py (100%) rename tests/{ => ports}/unix/ffi_float.py.exp (100%) rename tests/{ => ports}/unix/ffi_float2.py (100%) rename tests/{ => ports}/unix/ffi_float2.py.exp (100%) rename tests/{ => ports}/unix/ffi_lib.c (100%) rename tests/{ => ports}/unix/ffi_types.py (100%) rename tests/{ => ports}/unix/ffi_types.py.exp (100%) rename tests/{ => ports}/unix/mod_os.py (100%) rename tests/{ => ports}/unix/mod_os.py.exp (100%) rename tests/{ => ports}/unix/time_mktime_localtime.py (100%) diff --git a/tests/wipy/adc.py b/tests/ports/cc3200/adc.py similarity index 100% rename from tests/wipy/adc.py rename to tests/ports/cc3200/adc.py diff --git a/tests/wipy/adc.py.exp b/tests/ports/cc3200/adc.py.exp similarity index 100% rename from tests/wipy/adc.py.exp rename to tests/ports/cc3200/adc.py.exp diff --git a/tests/wipy/i2c.py b/tests/ports/cc3200/i2c.py similarity index 100% rename from tests/wipy/i2c.py rename to tests/ports/cc3200/i2c.py diff --git a/tests/wipy/i2c.py.exp b/tests/ports/cc3200/i2c.py.exp similarity index 100% rename from tests/wipy/i2c.py.exp rename to tests/ports/cc3200/i2c.py.exp diff --git a/tests/wipy/modwipy.py b/tests/ports/cc3200/modwipy.py similarity index 100% rename from tests/wipy/modwipy.py rename to tests/ports/cc3200/modwipy.py diff --git a/tests/wipy/modwipy.py.exp b/tests/ports/cc3200/modwipy.py.exp similarity index 100% rename from tests/wipy/modwipy.py.exp rename to tests/ports/cc3200/modwipy.py.exp diff --git a/tests/wipy/os.py b/tests/ports/cc3200/os.py similarity index 100% rename from tests/wipy/os.py rename to tests/ports/cc3200/os.py diff --git a/tests/wipy/os.py.exp b/tests/ports/cc3200/os.py.exp similarity index 100% rename from tests/wipy/os.py.exp rename to tests/ports/cc3200/os.py.exp diff --git a/tests/wipy/pin.py b/tests/ports/cc3200/pin.py similarity index 100% rename from tests/wipy/pin.py rename to tests/ports/cc3200/pin.py diff --git a/tests/wipy/pin.py.exp b/tests/ports/cc3200/pin.py.exp similarity index 100% rename from tests/wipy/pin.py.exp rename to tests/ports/cc3200/pin.py.exp diff --git a/tests/wipy/pin_irq.py b/tests/ports/cc3200/pin_irq.py similarity index 100% rename from tests/wipy/pin_irq.py rename to tests/ports/cc3200/pin_irq.py diff --git a/tests/wipy/pin_irq.py.exp b/tests/ports/cc3200/pin_irq.py.exp similarity index 100% rename from tests/wipy/pin_irq.py.exp rename to tests/ports/cc3200/pin_irq.py.exp diff --git a/tests/wipy/reset/reset.py b/tests/ports/cc3200/reset/reset.py similarity index 100% rename from tests/wipy/reset/reset.py rename to tests/ports/cc3200/reset/reset.py diff --git a/tests/wipy/reset/reset.py.exp b/tests/ports/cc3200/reset/reset.py.exp similarity index 100% rename from tests/wipy/reset/reset.py.exp rename to tests/ports/cc3200/reset/reset.py.exp diff --git a/tests/wipy/rtc.py b/tests/ports/cc3200/rtc.py similarity index 100% rename from tests/wipy/rtc.py rename to tests/ports/cc3200/rtc.py diff --git a/tests/wipy/rtc.py.exp b/tests/ports/cc3200/rtc.py.exp similarity index 100% rename from tests/wipy/rtc.py.exp rename to tests/ports/cc3200/rtc.py.exp diff --git a/tests/wipy/sd.py b/tests/ports/cc3200/sd.py similarity index 100% rename from tests/wipy/sd.py rename to tests/ports/cc3200/sd.py diff --git a/tests/wipy/sd.py.exp b/tests/ports/cc3200/sd.py.exp similarity index 100% rename from tests/wipy/sd.py.exp rename to tests/ports/cc3200/sd.py.exp diff --git a/tests/wipy/skipped/rtc_irq.py b/tests/ports/cc3200/skipped/rtc_irq.py similarity index 100% rename from tests/wipy/skipped/rtc_irq.py rename to tests/ports/cc3200/skipped/rtc_irq.py diff --git a/tests/wipy/skipped/rtc_irq.py.exp b/tests/ports/cc3200/skipped/rtc_irq.py.exp similarity index 100% rename from tests/wipy/skipped/rtc_irq.py.exp rename to tests/ports/cc3200/skipped/rtc_irq.py.exp diff --git a/tests/wipy/spi.py b/tests/ports/cc3200/spi.py similarity index 100% rename from tests/wipy/spi.py rename to tests/ports/cc3200/spi.py diff --git a/tests/wipy/spi.py.exp b/tests/ports/cc3200/spi.py.exp similarity index 100% rename from tests/wipy/spi.py.exp rename to tests/ports/cc3200/spi.py.exp diff --git a/tests/wipy/time.py b/tests/ports/cc3200/time.py similarity index 100% rename from tests/wipy/time.py rename to tests/ports/cc3200/time.py diff --git a/tests/wipy/time.py.exp b/tests/ports/cc3200/time.py.exp similarity index 100% rename from tests/wipy/time.py.exp rename to tests/ports/cc3200/time.py.exp diff --git a/tests/wipy/timer.py b/tests/ports/cc3200/timer.py similarity index 100% rename from tests/wipy/timer.py rename to tests/ports/cc3200/timer.py diff --git a/tests/wipy/timer.py.exp b/tests/ports/cc3200/timer.py.exp similarity index 100% rename from tests/wipy/timer.py.exp rename to tests/ports/cc3200/timer.py.exp diff --git a/tests/wipy/uart.py b/tests/ports/cc3200/uart.py similarity index 100% rename from tests/wipy/uart.py rename to tests/ports/cc3200/uart.py diff --git a/tests/wipy/uart.py.exp b/tests/ports/cc3200/uart.py.exp similarity index 100% rename from tests/wipy/uart.py.exp rename to tests/ports/cc3200/uart.py.exp diff --git a/tests/wipy/uart_irq.py b/tests/ports/cc3200/uart_irq.py similarity index 100% rename from tests/wipy/uart_irq.py rename to tests/ports/cc3200/uart_irq.py diff --git a/tests/wipy/uart_irq.py.exp b/tests/ports/cc3200/uart_irq.py.exp similarity index 100% rename from tests/wipy/uart_irq.py.exp rename to tests/ports/cc3200/uart_irq.py.exp diff --git a/tests/wipy/wdt.py b/tests/ports/cc3200/wdt.py similarity index 100% rename from tests/wipy/wdt.py rename to tests/ports/cc3200/wdt.py diff --git a/tests/wipy/wdt.py.exp b/tests/ports/cc3200/wdt.py.exp similarity index 100% rename from tests/wipy/wdt.py.exp rename to tests/ports/cc3200/wdt.py.exp diff --git a/tests/wipy/wlan/machine.py b/tests/ports/cc3200/wlan/machine.py similarity index 100% rename from tests/wipy/wlan/machine.py rename to tests/ports/cc3200/wlan/machine.py diff --git a/tests/wipy/wlan/machine.py.exp b/tests/ports/cc3200/wlan/machine.py.exp similarity index 100% rename from tests/wipy/wlan/machine.py.exp rename to tests/ports/cc3200/wlan/machine.py.exp diff --git a/tests/wipy/wlan/server.py b/tests/ports/cc3200/wlan/server.py similarity index 100% rename from tests/wipy/wlan/server.py rename to tests/ports/cc3200/wlan/server.py diff --git a/tests/wipy/wlan/server.py.exp b/tests/ports/cc3200/wlan/server.py.exp similarity index 100% rename from tests/wipy/wlan/server.py.exp rename to tests/ports/cc3200/wlan/server.py.exp diff --git a/tests/wipy/wlan/wlan.py b/tests/ports/cc3200/wlan/wlan.py similarity index 100% rename from tests/wipy/wlan/wlan.py rename to tests/ports/cc3200/wlan/wlan.py diff --git a/tests/wipy/wlan/wlan.py.exp b/tests/ports/cc3200/wlan/wlan.py.exp similarity index 100% rename from tests/wipy/wlan/wlan.py.exp rename to tests/ports/cc3200/wlan/wlan.py.exp diff --git a/tests/esp32/check_err_str.py b/tests/ports/esp32/check_err_str.py similarity index 100% rename from tests/esp32/check_err_str.py rename to tests/ports/esp32/check_err_str.py diff --git a/tests/esp32/check_err_str.py.exp b/tests/ports/esp32/check_err_str.py.exp similarity index 100% rename from tests/esp32/check_err_str.py.exp rename to tests/ports/esp32/check_err_str.py.exp diff --git a/tests/esp32/esp32_idf_heap_info.py b/tests/ports/esp32/esp32_idf_heap_info.py similarity index 100% rename from tests/esp32/esp32_idf_heap_info.py rename to tests/ports/esp32/esp32_idf_heap_info.py diff --git a/tests/esp32/esp32_idf_heap_info.py.exp b/tests/ports/esp32/esp32_idf_heap_info.py.exp similarity index 100% rename from tests/esp32/esp32_idf_heap_info.py.exp rename to tests/ports/esp32/esp32_idf_heap_info.py.exp diff --git a/tests/esp32/esp32_nvs.py b/tests/ports/esp32/esp32_nvs.py similarity index 100% rename from tests/esp32/esp32_nvs.py rename to tests/ports/esp32/esp32_nvs.py diff --git a/tests/esp32/esp32_nvs.py.exp b/tests/ports/esp32/esp32_nvs.py.exp similarity index 100% rename from tests/esp32/esp32_nvs.py.exp rename to tests/ports/esp32/esp32_nvs.py.exp diff --git a/tests/esp32/partition_ota.py b/tests/ports/esp32/partition_ota.py similarity index 100% rename from tests/esp32/partition_ota.py rename to tests/ports/esp32/partition_ota.py diff --git a/tests/esp32/partition_ota.py.exp b/tests/ports/esp32/partition_ota.py.exp similarity index 100% rename from tests/esp32/partition_ota.py.exp rename to tests/ports/esp32/partition_ota.py.exp diff --git a/tests/esp32/resolve_on_connect.py b/tests/ports/esp32/resolve_on_connect.py similarity index 100% rename from tests/esp32/resolve_on_connect.py rename to tests/ports/esp32/resolve_on_connect.py diff --git a/tests/qemu-arm/asm_test.py b/tests/ports/qemu-arm/asm_test.py similarity index 100% rename from tests/qemu-arm/asm_test.py rename to tests/ports/qemu-arm/asm_test.py diff --git a/tests/qemu-arm/asm_test.py.exp b/tests/ports/qemu-arm/asm_test.py.exp similarity index 100% rename from tests/qemu-arm/asm_test.py.exp rename to tests/ports/qemu-arm/asm_test.py.exp diff --git a/tests/qemu-arm/native_test.py b/tests/ports/qemu-arm/native_test.py similarity index 100% rename from tests/qemu-arm/native_test.py rename to tests/ports/qemu-arm/native_test.py diff --git a/tests/qemu-arm/native_test.py.exp b/tests/ports/qemu-arm/native_test.py.exp similarity index 100% rename from tests/qemu-arm/native_test.py.exp rename to tests/ports/qemu-arm/native_test.py.exp diff --git a/tests/qemu-arm/viper_test.py b/tests/ports/qemu-arm/viper_test.py similarity index 100% rename from tests/qemu-arm/viper_test.py rename to tests/ports/qemu-arm/viper_test.py diff --git a/tests/qemu-arm/viper_test.py.exp b/tests/ports/qemu-arm/viper_test.py.exp similarity index 100% rename from tests/qemu-arm/viper_test.py.exp rename to tests/ports/qemu-arm/viper_test.py.exp diff --git a/tests/renesas-ra/freq.py b/tests/ports/renesas-ra/freq.py similarity index 100% rename from tests/renesas-ra/freq.py rename to tests/ports/renesas-ra/freq.py diff --git a/tests/renesas-ra/freq.py.exp b/tests/ports/renesas-ra/freq.py.exp similarity index 100% rename from tests/renesas-ra/freq.py.exp rename to tests/ports/renesas-ra/freq.py.exp diff --git a/tests/renesas-ra/i2c.py b/tests/ports/renesas-ra/i2c.py similarity index 100% rename from tests/renesas-ra/i2c.py rename to tests/ports/renesas-ra/i2c.py diff --git a/tests/renesas-ra/i2c.py.exp b/tests/ports/renesas-ra/i2c.py.exp similarity index 100% rename from tests/renesas-ra/i2c.py.exp rename to tests/ports/renesas-ra/i2c.py.exp diff --git a/tests/pyb/modtime.py b/tests/ports/renesas-ra/modtime.py similarity index 100% rename from tests/pyb/modtime.py rename to tests/ports/renesas-ra/modtime.py diff --git a/tests/pyb/modtime.py.exp b/tests/ports/renesas-ra/modtime.py.exp similarity index 100% rename from tests/pyb/modtime.py.exp rename to tests/ports/renesas-ra/modtime.py.exp diff --git a/tests/renesas-ra/pin.py b/tests/ports/renesas-ra/pin.py similarity index 100% rename from tests/renesas-ra/pin.py rename to tests/ports/renesas-ra/pin.py diff --git a/tests/renesas-ra/pin.py.exp b/tests/ports/renesas-ra/pin.py.exp similarity index 100% rename from tests/renesas-ra/pin.py.exp rename to tests/ports/renesas-ra/pin.py.exp diff --git a/tests/renesas-ra/rtc_init.py b/tests/ports/renesas-ra/rtc_init.py similarity index 100% rename from tests/renesas-ra/rtc_init.py rename to tests/ports/renesas-ra/rtc_init.py diff --git a/tests/renesas-ra/rtc_init.py.exp b/tests/ports/renesas-ra/rtc_init.py.exp similarity index 100% rename from tests/renesas-ra/rtc_init.py.exp rename to tests/ports/renesas-ra/rtc_init.py.exp diff --git a/tests/renesas-ra/spi.py b/tests/ports/renesas-ra/spi.py similarity index 100% rename from tests/renesas-ra/spi.py rename to tests/ports/renesas-ra/spi.py diff --git a/tests/renesas-ra/spi.py.exp b/tests/ports/renesas-ra/spi.py.exp similarity index 100% rename from tests/renesas-ra/spi.py.exp rename to tests/ports/renesas-ra/spi.py.exp diff --git a/tests/renesas-ra/uart1.py b/tests/ports/renesas-ra/uart1.py similarity index 100% rename from tests/renesas-ra/uart1.py rename to tests/ports/renesas-ra/uart1.py diff --git a/tests/renesas-ra/uart1.py.exp b/tests/ports/renesas-ra/uart1.py.exp similarity index 100% rename from tests/renesas-ra/uart1.py.exp rename to tests/ports/renesas-ra/uart1.py.exp diff --git a/tests/pyb/accel.py b/tests/ports/stm32/accel.py similarity index 100% rename from tests/pyb/accel.py rename to tests/ports/stm32/accel.py diff --git a/tests/pyb/accel.py.exp b/tests/ports/stm32/accel.py.exp similarity index 100% rename from tests/pyb/accel.py.exp rename to tests/ports/stm32/accel.py.exp diff --git a/tests/pyb/adc.py b/tests/ports/stm32/adc.py similarity index 100% rename from tests/pyb/adc.py rename to tests/ports/stm32/adc.py diff --git a/tests/pyb/adc.py.exp b/tests/ports/stm32/adc.py.exp similarity index 100% rename from tests/pyb/adc.py.exp rename to tests/ports/stm32/adc.py.exp diff --git a/tests/pyb/adcall.py b/tests/ports/stm32/adcall.py similarity index 100% rename from tests/pyb/adcall.py rename to tests/ports/stm32/adcall.py diff --git a/tests/pyb/adcall.py.exp b/tests/ports/stm32/adcall.py.exp similarity index 100% rename from tests/pyb/adcall.py.exp rename to tests/ports/stm32/adcall.py.exp diff --git a/tests/pyb/board_pybv1x.py b/tests/ports/stm32/board_pybv1x.py similarity index 100% rename from tests/pyb/board_pybv1x.py rename to tests/ports/stm32/board_pybv1x.py diff --git a/tests/pyb/board_pybv1x.py.exp b/tests/ports/stm32/board_pybv1x.py.exp similarity index 100% rename from tests/pyb/board_pybv1x.py.exp rename to tests/ports/stm32/board_pybv1x.py.exp diff --git a/tests/pyb/can.py b/tests/ports/stm32/can.py similarity index 100% rename from tests/pyb/can.py rename to tests/ports/stm32/can.py diff --git a/tests/pyb/can.py.exp b/tests/ports/stm32/can.py.exp similarity index 100% rename from tests/pyb/can.py.exp rename to tests/ports/stm32/can.py.exp diff --git a/tests/pyb/can2.py b/tests/ports/stm32/can2.py similarity index 100% rename from tests/pyb/can2.py rename to tests/ports/stm32/can2.py diff --git a/tests/pyb/can2.py.exp b/tests/ports/stm32/can2.py.exp similarity index 100% rename from tests/pyb/can2.py.exp rename to tests/ports/stm32/can2.py.exp diff --git a/tests/pyb/dac.py b/tests/ports/stm32/dac.py similarity index 100% rename from tests/pyb/dac.py rename to tests/ports/stm32/dac.py diff --git a/tests/pyb/dac.py.exp b/tests/ports/stm32/dac.py.exp similarity index 100% rename from tests/pyb/dac.py.exp rename to tests/ports/stm32/dac.py.exp diff --git a/tests/pyb/extint.py b/tests/ports/stm32/extint.py similarity index 100% rename from tests/pyb/extint.py rename to tests/ports/stm32/extint.py diff --git a/tests/pyb/extint.py.exp b/tests/ports/stm32/extint.py.exp similarity index 100% rename from tests/pyb/extint.py.exp rename to tests/ports/stm32/extint.py.exp diff --git a/tests/pyb/i2c.py b/tests/ports/stm32/i2c.py similarity index 100% rename from tests/pyb/i2c.py rename to tests/ports/stm32/i2c.py diff --git a/tests/pyb/i2c.py.exp b/tests/ports/stm32/i2c.py.exp similarity index 100% rename from tests/pyb/i2c.py.exp rename to tests/ports/stm32/i2c.py.exp diff --git a/tests/pyb/i2c_accel.py b/tests/ports/stm32/i2c_accel.py similarity index 100% rename from tests/pyb/i2c_accel.py rename to tests/ports/stm32/i2c_accel.py diff --git a/tests/pyb/i2c_accel.py.exp b/tests/ports/stm32/i2c_accel.py.exp similarity index 100% rename from tests/pyb/i2c_accel.py.exp rename to tests/ports/stm32/i2c_accel.py.exp diff --git a/tests/pyb/i2c_error.py b/tests/ports/stm32/i2c_error.py similarity index 100% rename from tests/pyb/i2c_error.py rename to tests/ports/stm32/i2c_error.py diff --git a/tests/pyb/i2c_error.py.exp b/tests/ports/stm32/i2c_error.py.exp similarity index 100% rename from tests/pyb/i2c_error.py.exp rename to tests/ports/stm32/i2c_error.py.exp diff --git a/tests/pyb/irq.py b/tests/ports/stm32/irq.py similarity index 100% rename from tests/pyb/irq.py rename to tests/ports/stm32/irq.py diff --git a/tests/pyb/irq.py.exp b/tests/ports/stm32/irq.py.exp similarity index 100% rename from tests/pyb/irq.py.exp rename to tests/ports/stm32/irq.py.exp diff --git a/tests/pyb/led.py b/tests/ports/stm32/led.py similarity index 100% rename from tests/pyb/led.py rename to tests/ports/stm32/led.py diff --git a/tests/pyb/led.py.exp b/tests/ports/stm32/led.py.exp similarity index 100% rename from tests/pyb/led.py.exp rename to tests/ports/stm32/led.py.exp diff --git a/tests/pyb/modstm.py b/tests/ports/stm32/modstm.py similarity index 100% rename from tests/pyb/modstm.py rename to tests/ports/stm32/modstm.py diff --git a/tests/pyb/modstm.py.exp b/tests/ports/stm32/modstm.py.exp similarity index 100% rename from tests/pyb/modstm.py.exp rename to tests/ports/stm32/modstm.py.exp diff --git a/tests/renesas-ra/modtime.py b/tests/ports/stm32/modtime.py similarity index 100% rename from tests/renesas-ra/modtime.py rename to tests/ports/stm32/modtime.py diff --git a/tests/renesas-ra/modtime.py.exp b/tests/ports/stm32/modtime.py.exp similarity index 100% rename from tests/renesas-ra/modtime.py.exp rename to tests/ports/stm32/modtime.py.exp diff --git a/tests/pyb/pin.py b/tests/ports/stm32/pin.py similarity index 100% rename from tests/pyb/pin.py rename to tests/ports/stm32/pin.py diff --git a/tests/pyb/pin.py.exp b/tests/ports/stm32/pin.py.exp similarity index 100% rename from tests/pyb/pin.py.exp rename to tests/ports/stm32/pin.py.exp diff --git a/tests/pyb/pyb1.py b/tests/ports/stm32/pyb1.py similarity index 100% rename from tests/pyb/pyb1.py rename to tests/ports/stm32/pyb1.py diff --git a/tests/pyb/pyb1.py.exp b/tests/ports/stm32/pyb1.py.exp similarity index 100% rename from tests/pyb/pyb1.py.exp rename to tests/ports/stm32/pyb1.py.exp diff --git a/tests/pyb/pyb_f405.py b/tests/ports/stm32/pyb_f405.py similarity index 100% rename from tests/pyb/pyb_f405.py rename to tests/ports/stm32/pyb_f405.py diff --git a/tests/pyb/pyb_f405.py.exp b/tests/ports/stm32/pyb_f405.py.exp similarity index 100% rename from tests/pyb/pyb_f405.py.exp rename to tests/ports/stm32/pyb_f405.py.exp diff --git a/tests/pyb/pyb_f411.py b/tests/ports/stm32/pyb_f411.py similarity index 100% rename from tests/pyb/pyb_f411.py rename to tests/ports/stm32/pyb_f411.py diff --git a/tests/pyb/pyb_f411.py.exp b/tests/ports/stm32/pyb_f411.py.exp similarity index 100% rename from tests/pyb/pyb_f411.py.exp rename to tests/ports/stm32/pyb_f411.py.exp diff --git a/tests/pyb/rtc.py b/tests/ports/stm32/rtc.py similarity index 100% rename from tests/pyb/rtc.py rename to tests/ports/stm32/rtc.py diff --git a/tests/pyb/rtc.py.exp b/tests/ports/stm32/rtc.py.exp similarity index 100% rename from tests/pyb/rtc.py.exp rename to tests/ports/stm32/rtc.py.exp diff --git a/tests/pyb/servo.py b/tests/ports/stm32/servo.py similarity index 100% rename from tests/pyb/servo.py rename to tests/ports/stm32/servo.py diff --git a/tests/pyb/servo.py.exp b/tests/ports/stm32/servo.py.exp similarity index 100% rename from tests/pyb/servo.py.exp rename to tests/ports/stm32/servo.py.exp diff --git a/tests/pyb/spi.py b/tests/ports/stm32/spi.py similarity index 100% rename from tests/pyb/spi.py rename to tests/ports/stm32/spi.py diff --git a/tests/pyb/spi.py.exp b/tests/ports/stm32/spi.py.exp similarity index 100% rename from tests/pyb/spi.py.exp rename to tests/ports/stm32/spi.py.exp diff --git a/tests/pyb/switch.py b/tests/ports/stm32/switch.py similarity index 100% rename from tests/pyb/switch.py rename to tests/ports/stm32/switch.py diff --git a/tests/pyb/switch.py.exp b/tests/ports/stm32/switch.py.exp similarity index 100% rename from tests/pyb/switch.py.exp rename to tests/ports/stm32/switch.py.exp diff --git a/tests/pyb/timer.py b/tests/ports/stm32/timer.py similarity index 100% rename from tests/pyb/timer.py rename to tests/ports/stm32/timer.py diff --git a/tests/pyb/timer.py.exp b/tests/ports/stm32/timer.py.exp similarity index 100% rename from tests/pyb/timer.py.exp rename to tests/ports/stm32/timer.py.exp diff --git a/tests/pyb/timer_callback.py b/tests/ports/stm32/timer_callback.py similarity index 100% rename from tests/pyb/timer_callback.py rename to tests/ports/stm32/timer_callback.py diff --git a/tests/pyb/timer_callback.py.exp b/tests/ports/stm32/timer_callback.py.exp similarity index 100% rename from tests/pyb/timer_callback.py.exp rename to tests/ports/stm32/timer_callback.py.exp diff --git a/tests/pyb/uart.py b/tests/ports/stm32/uart.py similarity index 100% rename from tests/pyb/uart.py rename to tests/ports/stm32/uart.py diff --git a/tests/pyb/uart.py.exp b/tests/ports/stm32/uart.py.exp similarity index 100% rename from tests/pyb/uart.py.exp rename to tests/ports/stm32/uart.py.exp diff --git a/tests/unix/extra_coverage.py b/tests/ports/unix/extra_coverage.py similarity index 100% rename from tests/unix/extra_coverage.py rename to tests/ports/unix/extra_coverage.py diff --git a/tests/unix/extra_coverage.py.exp b/tests/ports/unix/extra_coverage.py.exp similarity index 100% rename from tests/unix/extra_coverage.py.exp rename to tests/ports/unix/extra_coverage.py.exp diff --git a/tests/unix/ffi_callback.py b/tests/ports/unix/ffi_callback.py similarity index 100% rename from tests/unix/ffi_callback.py rename to tests/ports/unix/ffi_callback.py diff --git a/tests/unix/ffi_callback.py.exp b/tests/ports/unix/ffi_callback.py.exp similarity index 100% rename from tests/unix/ffi_callback.py.exp rename to tests/ports/unix/ffi_callback.py.exp diff --git a/tests/unix/ffi_float.py b/tests/ports/unix/ffi_float.py similarity index 100% rename from tests/unix/ffi_float.py rename to tests/ports/unix/ffi_float.py diff --git a/tests/unix/ffi_float.py.exp b/tests/ports/unix/ffi_float.py.exp similarity index 100% rename from tests/unix/ffi_float.py.exp rename to tests/ports/unix/ffi_float.py.exp diff --git a/tests/unix/ffi_float2.py b/tests/ports/unix/ffi_float2.py similarity index 100% rename from tests/unix/ffi_float2.py rename to tests/ports/unix/ffi_float2.py diff --git a/tests/unix/ffi_float2.py.exp b/tests/ports/unix/ffi_float2.py.exp similarity index 100% rename from tests/unix/ffi_float2.py.exp rename to tests/ports/unix/ffi_float2.py.exp diff --git a/tests/unix/ffi_lib.c b/tests/ports/unix/ffi_lib.c similarity index 100% rename from tests/unix/ffi_lib.c rename to tests/ports/unix/ffi_lib.c diff --git a/tests/unix/ffi_types.py b/tests/ports/unix/ffi_types.py similarity index 100% rename from tests/unix/ffi_types.py rename to tests/ports/unix/ffi_types.py diff --git a/tests/unix/ffi_types.py.exp b/tests/ports/unix/ffi_types.py.exp similarity index 100% rename from tests/unix/ffi_types.py.exp rename to tests/ports/unix/ffi_types.py.exp diff --git a/tests/unix/mod_os.py b/tests/ports/unix/mod_os.py similarity index 100% rename from tests/unix/mod_os.py rename to tests/ports/unix/mod_os.py diff --git a/tests/unix/mod_os.py.exp b/tests/ports/unix/mod_os.py.exp similarity index 100% rename from tests/unix/mod_os.py.exp rename to tests/ports/unix/mod_os.py.exp diff --git a/tests/unix/time_mktime_localtime.py b/tests/ports/unix/time_mktime_localtime.py similarity index 100% rename from tests/unix/time_mktime_localtime.py rename to tests/ports/unix/time_mktime_localtime.py diff --git a/tests/run-tests.py b/tests/run-tests.py index 4d4c2543b2..39f2d73a20 100755 --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -183,7 +183,7 @@ special_tests = [ "basics/bytes_compare3.py", "basics/builtin_help.py", "thread/thread_exc2.py", - "esp32/partition_ota.py", + "ports/esp32/partition_ota.py", ) ] @@ -1036,16 +1036,16 @@ the last matching regex is used: ) if args.target == "pyboard": # run pyboard tests - test_dirs += ("float", "stress", "pyb", "inlineasm") + test_dirs += ("float", "stress", "inlineasm", "ports/stm32") elif args.target in ("renesas-ra"): - test_dirs += ("float", "inlineasm", "renesas-ra") + test_dirs += ("float", "inlineasm", "ports/renesas-ra") elif args.target == "rp2": test_dirs += ("float", "stress", "inlineasm", "thread") elif args.target in ("esp8266", "esp32", "minimal", "nrf"): test_dirs += ("float",) elif args.target == "wipy": # run WiPy tests - test_dirs += ("wipy",) + test_dirs += ("ports/cc3200",) elif args.target == "unix": # run PC tests test_dirs += ( @@ -1054,8 +1054,8 @@ the last matching regex is used: "io", "stress", "unicode", - "unix", "cmdline", + "ports/unix", ) elif args.target == "qemu-arm": if not args.write_exp: @@ -1065,7 +1065,7 @@ the last matching regex is used: test_dirs += ( "float", "inlineasm", - "qemu-arm", + "ports/qemu-arm", ) else: # run tests from these directories diff --git a/tools/ci.sh b/tools/ci.sh index 95b1f19ffc..e18027ae5a 100755 --- a/tools/ci.sh +++ b/tools/ci.sh @@ -415,7 +415,7 @@ function ci_unix_build_helper { } function ci_unix_build_ffi_lib_helper { - $1 $2 -shared -o tests/unix/ffi_lib.so tests/unix/ffi_lib.c + $1 $2 -shared -o tests/ports/unix/ffi_lib.so tests/ports/unix/ffi_lib.c } function ci_unix_run_tests_helper {