glsl/tests: Handle windows \r\n new lines
authorDylan Baker <dylan@pnwbakers.com>
Fri, 31 May 2019 17:13:55 +0000 (10:13 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 10 Sep 2019 20:36:46 +0000 (20:36 +0000)
commit26961e2cb5e20a1d56915d903f8f03391b4fd109
tree46b7cbbfc8f92c614eb273ef094aa129e6a2d50c
parent077a1952cceb9b577437c9e31be094427d5c7a9a
glsl/tests: Handle windows \r\n new lines

Currently the praser for s expressions assumes that newlines will be \n,
resulting in incorrect parsing on windows, where the newline is \r\n.
This patch just adds \r? to the regular expression used to parse the s
expressions, which fixes at 1 test on windows.

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/compiler/glsl/tests/sexps.py