summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/tests')
-rw-r--r--src/compiler/glsl/tests/warnings_test.py4
1 files changed, 2 insertions, 2 deletions
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')