summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt2
-rw-r--r--test/benchmarks/CMakeLists.txt2
-rw-r--r--test/benchmarks/benchmark_crc32_copy.cc (renamed from test/benchmarks/benchmark_crc32_fold_copy.cc)0
-rw-r--r--test/test_crc32.cc2
-rw-r--r--test/test_crc32_copy.cc (renamed from test/test_crc32_fold_copy.cc)0
5 files changed, 3 insertions, 3 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 2ce549e8d8..bbaf1035c2 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -180,7 +180,7 @@ if(WITH_GTEST)
test_compare256.cc # compare256_neon(), etc
test_compare256_rle.cc # compare256_rle(), etc
test_crc32.cc # crc32_armv8(), etc
- test_crc32_fold_copy.cc # crc32_fold_copy implementations
+ test_crc32_copy.cc # crc32_copy implementations
test_inflate_sync.cc # expects a certain compressed block layout
test_main.cc # cpu_check_features()
test_version.cc # expects a fixed version string
diff --git a/test/benchmarks/CMakeLists.txt b/test/benchmarks/CMakeLists.txt
index 79f49b1fa5..c9fe520ad3 100644
--- a/test/benchmarks/CMakeLists.txt
+++ b/test/benchmarks/CMakeLists.txt
@@ -44,7 +44,7 @@ add_executable(benchmark_zlib
benchmark_compare256_rle.cc
benchmark_compress.cc
benchmark_crc32.cc
- benchmark_crc32_fold_copy.cc
+ benchmark_crc32_copy.cc
benchmark_insert_string.cc
benchmark_main.cc
benchmark_slidehash.cc
diff --git a/test/benchmarks/benchmark_crc32_fold_copy.cc b/test/benchmarks/benchmark_crc32_copy.cc
index 7b16952018..7b16952018 100644
--- a/test/benchmarks/benchmark_crc32_fold_copy.cc
+++ b/test/benchmarks/benchmark_crc32_copy.cc
diff --git a/test/test_crc32.cc b/test/test_crc32.cc
index a49c9d72bc..2a0da7eb98 100644
--- a/test/test_crc32.cc
+++ b/test/test_crc32.cc
@@ -140,7 +140,7 @@ TEST_CRC32(vpclmulqdq, crc32_vpclmulqdq, (test_cpu_features.x86.has_pclmulqdq &&
TEST_CRC32(chorba_sse41, crc32_chorba_sse41, test_cpu_features.x86.has_sse41)
# endif
#endif
-#if defined(LOONGARCH_CRC)
+#ifdef LOONGARCH_CRC
INSTANTIATE_TEST_SUITE_P(crc32_alignment, crc32_align, testing::ValuesIn(align_offsets));
TEST_CRC32(loongarch64, crc32_loongarch64, test_cpu_features.loongarch.has_crc)
TEST_CRC32_ALIGN(loongarch64_align, crc32_loongarch64, test_cpu_features.loongarch.has_crc)
diff --git a/test/test_crc32_fold_copy.cc b/test/test_crc32_copy.cc
index 81881d8e82..81881d8e82 100644
--- a/test/test_crc32_fold_copy.cc
+++ b/test/test_crc32_copy.cc