Skip to content

Commit 7bbcee3

Browse files
committed
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 <[email protected]>
1 parent f93ffc2 commit 7bbcee3

File tree

135 files changed

+7
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+7
-7
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/run-tests.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def run_script_on_remote_target(pyb, args, test_file, is_special):
183183
"basics/bytes_compare3.py",
184184
"basics/builtin_help.py",
185185
"thread/thread_exc2.py",
186-
"esp32/partition_ota.py",
186+
"ports/esp32/partition_ota.py",
187187
)
188188
]
189189

@@ -1036,16 +1036,16 @@ def main():
10361036
)
10371037
if args.target == "pyboard":
10381038
# run pyboard tests
1039-
test_dirs += ("float", "stress", "pyb", "inlineasm")
1039+
test_dirs += ("float", "stress", "inlineasm", "ports/stm32")
10401040
elif args.target in ("renesas-ra"):
1041-
test_dirs += ("float", "inlineasm", "renesas-ra")
1041+
test_dirs += ("float", "inlineasm", "ports/renesas-ra")
10421042
elif args.target == "rp2":
10431043
test_dirs += ("float", "stress", "inlineasm", "thread")
10441044
elif args.target in ("esp8266", "esp32", "minimal", "nrf"):
10451045
test_dirs += ("float",)
10461046
elif args.target == "wipy":
10471047
# run WiPy tests
1048-
test_dirs += ("wipy",)
1048+
test_dirs += ("ports/cc3200",)
10491049
elif args.target == "unix":
10501050
# run PC tests
10511051
test_dirs += (
@@ -1054,8 +1054,8 @@ def main():
10541054
"io",
10551055
"stress",
10561056
"unicode",
1057-
"unix",
10581057
"cmdline",
1058+
"ports/unix",
10591059
)
10601060
elif args.target == "qemu-arm":
10611061
if not args.write_exp:
@@ -1065,7 +1065,7 @@ def main():
10651065
test_dirs += (
10661066
"float",
10671067
"inlineasm",
1068-
"qemu-arm",
1068+
"ports/qemu-arm",
10691069
)
10701070
else:
10711071
# run tests from these directories

tools/ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ function ci_unix_build_helper {
415415
}
416416

417417
function ci_unix_build_ffi_lib_helper {
418-
$1 $2 -shared -o tests/unix/ffi_lib.so tests/unix/ffi_lib.c
418+
$1 $2 -shared -o tests/ports/unix/ffi_lib.so tests/ports/unix/ffi_lib.c
419419
}
420420

421421
function ci_unix_run_tests_helper {

0 commit comments

Comments
 (0)