X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fcompiler%2Fglsl%2Ftests%2Fwarnings_test.py;h=6cd3fbf294f8ee98492b5a2cf848de5684326b88;hb=95f555a93a8891ebba2a291eecd984eb2364d636;hp=ed0774880d3ec251dcff16d1497bf47a3d5af7b0;hpb=638868bbff5fca0263df3d8fa400f980fb738e10;p=mesa.git diff --git a/src/compiler/glsl/tests/warnings_test.py b/src/compiler/glsl/tests/warnings_test.py index ed0774880d3..6cd3fbf294f 100644 --- a/src/compiler/glsl/tests/warnings_test.py +++ b/src/compiler/glsl/tests/warnings_test.py @@ -65,11 +65,11 @@ def main(): file = os.path.join(args.test_directory, file) with open('{}.expected'.format(file), 'rb') as f: - expected = f.read().strip() + expected = f.read().splitlines() actual = subprocess.check_output( runner + ['--just-log', '--version', '150', file] - ).strip() + ).splitlines() if actual == expected: print('PASS')