summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_variable_refcount.cpp
diff options
context:
space:
mode:
authorCarl Worth <[email protected]>2014-07-02 22:58:57 -0700
committerIan Romanick <[email protected]>2014-08-07 16:08:29 -0700
commit7ba74c65a77afbfb2da8515fcae51c19618c7b18 (patch)
treebd84f7cd407f032e21dc4940582029e8a22a91c3 /src/glsl/ir_variable_refcount.cpp
parentf1340745c00617bead8352d314306642138ed0bd (diff)
glsl/glcpp: Fix glcpp-test to correctly extract test-specific arguments
The (optional) test-specific command-line arguments to be passed to glcpp are embedded within the source files of some tests, and glcpp-test uses grep to extract them. Of course, grep is line-based and looks for the native line-separator to determine line boundaries. So, for files using non-native line separators, grep was getting quite confused and passing bogus arguments to glcpp. Fix this by canonical-izing the line separators in the source file prior to using grep. With this commit, the glcpp-test-cr-lf tests pass entirely: \r: 143/143 tests pass \r\n: 143/143 tests pass \n\r: 143/143 tests pass Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/ir_variable_refcount.cpp')
0 files changed, 0 insertions, 0 deletions