tests: Fix expected output of verbose cmdline test

The output might contain more than one line ending in 5b so properly skip
everything until the next known point.
This fixes test failures in appveyor debug builds.
pull/2479/head
stijn 2016-10-05 12:34:18 +02:00
rodzic b89ac9db78
commit 7f19b1c3eb
2 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

@ -27,8 +27,7 @@ arg names:
File cmdline/cmd_showbc.py, code block 'f' (descriptor: \.\+, bytecode @\.\+ bytes)
Raw bytecode (code_info_size=\\d\+, bytecode_size=\\d\+):
########
\.\+5b
arg names:
\.\+rg names:
(N_STATE 22)
(N_EXC_STACK 2)
(INIT_CELL 14)

Wyświetl plik

@ -267,7 +267,6 @@ def run_tests(pyb, tests, args):
# Some tests use unsupported features on Windows
if os.name == 'nt':
skip_tests.add('import/import_file.py') # works but CPython prints forward slashes
skip_tests.add('cmdline/cmd_showbc.py') # fails on AppVeyor x86 builds
# Some tests are known to fail with native emitter
# Remove them from the below when they work