st/glsl_to_nir: make use of nir linker for linking uniforms
[mesa.git] / src / compiler / glsl / tests / warnings_test.py
index ed0774880d3ec251dcff16d1497bf47a3d5af7b0..6cd3fbf294f8ee98492b5a2cf848de5684326b88 100644 (file)
@@ -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')