[test] Make shape test names match file names

No idea why test names are underscorified but it it just makes calling
meson test testname harder than it should being not able to copy file
name directly.
This commit is contained in:
Khaled Hosny 2021-09-03 16:20:06 +02:00 committed by Behdad Esfahbod
parent 2bd911b8b4
commit a9dc4fbeac
1 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ env = environment()
env.set('HAVE_FREETYPE', '@0@'.format(conf.get('HAVE_FREETYPE', 0)))
foreach file_name : in_house_tests
test_name = file_name.split('.')[0].underscorify()
test_name = file_name.split('.')[0]
test(test_name, shaping_run_tests_py,
args: [
@ -23,7 +23,7 @@ foreach file_name : in_house_tests
endforeach
foreach file_name : aots_tests
test_name = file_name.split('.')[0].underscorify()
test_name = file_name.split('.')[0]
test(test_name, shaping_run_tests_py,
args: [
@ -37,7 +37,7 @@ foreach file_name : aots_tests
endforeach
foreach file_name : text_rendering_tests
test_name = file_name.split('.')[0].underscorify()
test_name = file_name.split('.')[0]
test(test_name, shaping_run_tests_py,
args: [