From 7f19b1c3eb488a8466fd1fca0530dba6a02d9f1a Mon Sep 17 00:00:00 2001 From: stijn Date: Wed, 5 Oct 2016 12:34:18 +0200 Subject: [PATCH] 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. --- tests/cmdline/cmd_showbc.py.exp | 3 +-- tests/run-tests | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/cmdline/cmd_showbc.py.exp b/tests/cmdline/cmd_showbc.py.exp index d3ac8d1c28..0e5c559424 100644 --- a/tests/cmdline/cmd_showbc.py.exp +++ b/tests/cmdline/cmd_showbc.py.exp @@ -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) diff --git a/tests/run-tests b/tests/run-tests index 4a28894978..cb920c0946 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -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