diff options
author | Emil Velikov <[email protected]> | 2017-02-28 12:13:58 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-03-28 15:31:24 +0100 |
commit | cf77cdce839a06097b5f995118261eb98285ffc7 (patch) | |
tree | e9fbe6fd0b61d1e640200637aaf3378ed67e6793 /src/compiler/glsl/glcpp/tests | |
parent | 4ea4fbf93a5a2229af3d48dc7fb23a43c90adb7f (diff) |
glcpp/tests: update testname in help string
Rather than hardcoding glcpp/other use `basename "$0"` which expands
appropriatelly.
Signed-off-by: Emil Velikov <[email protected]>
Acked-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/compiler/glsl/glcpp/tests')
-rwxr-xr-x | src/compiler/glsl/glcpp/tests/glcpp-test-cr-lf.sh | 2 | ||||
-rwxr-xr-x | src/compiler/glsl/glcpp/tests/glcpp-test.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/glsl/glcpp/tests/glcpp-test-cr-lf.sh b/src/compiler/glsl/glcpp/tests/glcpp-test-cr-lf.sh index c0ed9e04bc6..6a77a6e6663 100755 --- a/src/compiler/glsl/glcpp/tests/glcpp-test-cr-lf.sh +++ b/src/compiler/glsl/glcpp/tests/glcpp-test-cr-lf.sh @@ -51,7 +51,7 @@ run_test () usage () { cat <<EOF -Usage: glcpp-cr-lf [options...] +Usage: `basename "$0"` [options...] Run the entire glcpp-test suite several times, each time with each source file transformed to use a non-standard line-termination character. Each diff --git a/src/compiler/glsl/glcpp/tests/glcpp-test.sh b/src/compiler/glsl/glcpp/tests/glcpp-test.sh index d98c408f739..44c9451cf60 100755 --- a/src/compiler/glsl/glcpp/tests/glcpp-test.sh +++ b/src/compiler/glsl/glcpp/tests/glcpp-test.sh @@ -22,7 +22,7 @@ trap 'rm $test.valgrind-errors; exit 1' INT QUIT usage () { cat <<EOF -Usage: glcpp [options...] +Usage: `basename "$0"` [options...] Run the test suite for mesa's GLSL pre-processor. |