diff options
author | Matt Turner <[email protected]> | 2014-12-07 23:43:00 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-12-12 12:11:50 -0800 |
commit | a29ae0b3ddce0f4cda633d3be3f7380178522bbf (patch) | |
tree | 7b519265d3f0606657c13153ccbcc36ed9551c09 /src/glsl/glcpp/tests/glcpp-test-cr-lf | |
parent | 75c7a7114fc94b17aaadb6d737d2b5fc92bf6240 (diff) |
glcpp: Make tests write .out files to builddir.
Diffstat (limited to 'src/glsl/glcpp/tests/glcpp-test-cr-lf')
-rwxr-xr-x | src/glsl/glcpp/tests/glcpp-test-cr-lf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glsl/glcpp/tests/glcpp-test-cr-lf b/src/glsl/glcpp/tests/glcpp-test-cr-lf index 7988c058787..c4ed0b86d74 100755 --- a/src/glsl/glcpp/tests/glcpp-test-cr-lf +++ b/src/glsl/glcpp/tests/glcpp-test-cr-lf @@ -99,7 +99,7 @@ mkdir subtest-cr for file in "$testdir"/*.c; do base=$(basename "$file") tr "\n" "\r" < "$file" > subtest-cr/"$base" - cp subtest-lf/"$base".out subtest-cr/"$base".expected + cp `pwd`/glcpp/tests/subtest-lf/"$base".out subtest-cr/"$base".expected done run_test "${glcpp_test} --testdir=subtest-cr" @@ -112,7 +112,7 @@ mkdir subtest-cr-lf for file in "$testdir"/*.c; do base=$(basename "$file") sed -e 's/$/
/' < "$file" > subtest-cr-lf/"$base" - cp subtest-lf/"$base".out subtest-cr-lf/"$base".expected + cp `pwd`/glcpp/tests/subtest-lf/"$base".out subtest-cr-lf/"$base".expected done run_test "${glcpp_test} --testdir=subtest-cr-lf" @@ -125,7 +125,7 @@ mkdir subtest-lf-cr for file in "$testdir"/*.c; do base=$(basename "$file") sed -e 's/$/
/' < "$file" | tr "\n\r" "\r\n" > subtest-lf-cr/"$base" - cp subtest-lf/"$base".out subtest-lf-cr/"$base".expected + cp `pwd`/glcpp/tests/subtest-lf/"$base".out subtest-lf-cr/"$base".expected done run_test "${glcpp_test} --testdir=subtest-lf-cr" |