|
80 | 80 | "misc/sys_settrace_features.py", |
81 | 81 | "misc/sys_settrace_generator.py", |
82 | 82 | "misc/sys_settrace_loop.py", |
| 83 | + "micropython/traceback.py", |
83 | 84 | ), |
84 | 85 | } |
85 | 86 |
|
|
108 | 109 | "micropython/schedule.py", |
109 | 110 | # These require sys.exc_info(). |
110 | 111 | "misc/sys_exc_info.py", |
| 112 | + # These require exception tracebacks. |
| 113 | + "micropython/traceback.py", |
111 | 114 | # These require sys.settrace(). |
112 | 115 | "misc/sys_settrace_cov.py", |
113 | 116 | "misc/sys_settrace_features.py", |
|
125 | 128 | "stress/list_sort.py", # watchdog kicks in because it takes too long |
126 | 129 | ), |
127 | 130 | "minimal": ( |
128 | | - "basics/class_inplace_op.py", # all special methods not supported |
129 | | - "basics/subclass_native_init.py", # native subclassing corner cases not support |
130 | | - "micropython/opt_level.py", # don't assume line numbers are stored |
| 131 | + "micropython/traceback.py", # no line numbers, no list[N:] syntax |
131 | 132 | ), |
132 | 133 | "nrf": ( |
133 | 134 | "basics/io_buffered_writer.py", |
@@ -827,6 +828,8 @@ def run_tests(pyb, tests, args, result_dir, num_threads=1): |
827 | 828 |
|
828 | 829 | # Skip platform-specific tests. |
829 | 830 | skip_tests.update(platform_tests_to_skip.get(args.platform, ())) |
| 831 | + if args.build == "minimal": |
| 832 | + skip_tests.update(platform_tests_to_skip.get(args.build, ())) |
830 | 833 |
|
831 | 834 | # Some tests are known to fail on 64-bit machines |
832 | 835 | if pyb is None and platform.architecture()[0] == "64bit": |
|
0 commit comments