From 9062f132022c06e0a55ec383ff728722eeb2df41 Mon Sep 17 00:00:00 2001 From: James Price Date: Mon, 1 Mar 2021 22:51:39 +0000 Subject: [PATCH] Rename test file for consistency We use _test.cc for everything else, so this makes globbing for test sources simpler. Change-Id: I6d1a3ad0f3bbeaabe981fbce66967de7e2f9e4d5 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/43481 Auto-Submit: James Price Reviewed-by: Ben Clayton Commit-Queue: Ben Clayton --- BUILD.gn | 2 +- src/CMakeLists.txt | 2 +- ...impl_sanitizer_tests.cc => generator_impl_sanitizer_test.cc} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename src/writer/hlsl/{generator_impl_sanitizer_tests.cc => generator_impl_sanitizer_test.cc} (100%) diff --git a/BUILD.gn b/BUILD.gn index 61e64b57b6..fdc52e82a4 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -1260,7 +1260,7 @@ source_set("tint_unittests_hlsl_writer_src") { "src/writer/hlsl/generator_impl_member_accessor_test.cc", "src/writer/hlsl/generator_impl_module_constant_test.cc", "src/writer/hlsl/generator_impl_return_test.cc", - "src/writer/hlsl/generator_impl_sanitizer_tests.cc", + "src/writer/hlsl/generator_impl_sanitizer_test.cc", "src/writer/hlsl/generator_impl_switch_test.cc", "src/writer/hlsl/generator_impl_test.cc", "src/writer/hlsl/generator_impl_type_test.cc", diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 885d0bd33b..cc188ecdbf 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -779,7 +779,7 @@ if(${TINT_BUILD_TESTS}) writer/hlsl/generator_impl_member_accessor_test.cc writer/hlsl/generator_impl_module_constant_test.cc writer/hlsl/generator_impl_return_test.cc - writer/hlsl/generator_impl_sanitizer_tests.cc + writer/hlsl/generator_impl_sanitizer_test.cc writer/hlsl/generator_impl_switch_test.cc writer/hlsl/generator_impl_test.cc writer/hlsl/generator_impl_type_test.cc diff --git a/src/writer/hlsl/generator_impl_sanitizer_tests.cc b/src/writer/hlsl/generator_impl_sanitizer_test.cc similarity index 100% rename from src/writer/hlsl/generator_impl_sanitizer_tests.cc rename to src/writer/hlsl/generator_impl_sanitizer_test.cc