[1/1] gles3: use _${piglit_target_api} for testcase names

Message ID 1357933768-23460-1-git-send-email-tom.gall@linaro.org
State Accepted
Headers show

Commit Message

Tom Gall Jan. 11, 2013, 7:49 p.m.
Use _${piglit_target_api} as the suffix of testcase binaries to
  to be consistant across piglit as suggested by Chad Versace.

Signed-off-by: Tom Gall <tom.gall@linaro.org>
---
 tests/all.tests                          |    2 +-
 tests/spec/gles-3.0/CMakeLists.gles3.txt |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/tests/all.tests b/tests/all.tests
index c823bcf..efb9581 100644
--- a/tests/all.tests
+++ b/tests/all.tests
@@ -2675,7 +2675,7 @@  for tex_format in ('rgb8', 'srgb8', 'rgba8', 'srgb8-alpha8', 'r11', 'rg11', 'rgb
 	test_name = ' ' .join(['oes_compressed_etc2_texture-miptree', tex_format])
 	executable = '{0} -auto'.format(test_name)
 	gles30[test_name] = concurrent_test(executable)
-gles30['minmax'] = concurrent_test('gles-3.0-minmax')
+gles30['minmax'] = concurrent_test('minmax_gles3')
 
 add_shader_test_dir(spec, os.path.join(generatedTestDir, 'spec'),
 		    recursive=True)
diff --git a/tests/spec/gles-3.0/CMakeLists.gles3.txt b/tests/spec/gles-3.0/CMakeLists.gles3.txt
index eff10ef..d02e8c6 100644
--- a/tests/spec/gles-3.0/CMakeLists.gles3.txt
+++ b/tests/spec/gles-3.0/CMakeLists.gles3.txt
@@ -2,7 +2,7 @@  link_libraries(
 	piglitutil_${piglit_target_api}
 	)
 
-piglit_add_executable(gles-3.0-minmax minmax.c)
+piglit_add_executable(minmax_${piglit_target_api} minmax.c)
 piglit_add_executable(oes_compressed_etc2_texture-miptree oes_compressed_etc2_texture-miptree.c)
 
 # vim: ft=cmake: