summaryrefslogtreecommitdiff
path: root/tests/run-tests
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2018-04-01 12:15:35 -0500
committerDamien George <damien.p.george@gmail.com>2018-04-10 14:06:26 +1000
commitcbf981f3307661c205d27f3a418be3989ab47c5e (patch)
tree2f0b9ca9a977bf74f75fd99719aba0794acb98b1 /tests/run-tests
parent6a693db71d032518dedc50731376c15bebe6cec9 (diff)
py/objgenerator: Check stack before resuming a generator.
This turns a hard crash in a recursive generator into a 'maximum recursion depth exceeded' exception.
Diffstat (limited to 'tests/run-tests')
-rwxr-xr-xtests/run-tests1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/run-tests b/tests/run-tests
index ef2f4bc6a..42037831d 100755
--- a/tests/run-tests
+++ b/tests/run-tests
@@ -367,6 +367,7 @@ def run_tests(pyb, tests, args, base_path="."):
skip_tests.add('micropython/heapalloc_iter.py') # requires generators
skip_tests.add('micropython/schedule.py') # native code doesn't check pending events
skip_tests.add('stress/gc_trace.py') # requires yield
+ skip_tests.add('stress/recursive_gen.py') # requires yield
for test_file in tests:
test_file = test_file.replace('\\', '/')