Fix 'linuxlike/14 static dynamic linkage' test on Cygwin

Update the expected output from nm to match changes in binutils 2.34.
pull/6693/head
Jon Turney 4 years ago committed by Dylan Baker
parent 0fbd09609f
commit 63d67e2042
  1. 2
      test cases/linuxlike/14 static dynamic linkage/verify_static.py

@ -13,7 +13,7 @@ def handle_common(path):
def handle_cygwin(path):
"""Handle the Cygwin case."""
output = subprocess.check_output(['nm', path]).decode('utf-8')
if 'I __imp_zlibVersion' in output:
if (('I __imp_zlibVersion' in output) or ('D __imp_zlibVersion' in output)):
return 1
return 0

Loading…
Cancel
Save