glcpp/tests: update testname in help string
Rather than hardcoding glcpp/other use `basename "$0"` which expands appropriatelly. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
This commit is contained in:

committed by
Emil Velikov

parent
4ea4fbf93a
commit
cf77cdce83
@@ -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
|
||||
|
@@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user