From 54e50792da0a7e60893879e43a4adff93652ec57 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Tue, 20 Jul 2021 14:53:15 +0200 Subject: [PATCH] Rename QSqlRecord benchmark's source file to match its test name Change-Id: I580f185b3bbe283dfa2f43bbc986233d01219814 Reviewed-by: Andy Shaw --- tests/benchmarks/sql/kernel/qsqlrecord/CMakeLists.txt | 2 +- .../qsqlrecord/{tst_qsqlrecord.cpp => tst_bench_qsqlrecord.cpp} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename tests/benchmarks/sql/kernel/qsqlrecord/{tst_qsqlrecord.cpp => tst_bench_qsqlrecord.cpp} (99%) diff --git a/tests/benchmarks/sql/kernel/qsqlrecord/CMakeLists.txt b/tests/benchmarks/sql/kernel/qsqlrecord/CMakeLists.txt index ac42589146..81fc3a1f3e 100644 --- a/tests/benchmarks/sql/kernel/qsqlrecord/CMakeLists.txt +++ b/tests/benchmarks/sql/kernel/qsqlrecord/CMakeLists.txt @@ -6,7 +6,7 @@ qt_internal_add_benchmark(tst_bench_qsqlrecord SOURCES - tst_qsqlrecord.cpp + tst_bench_qsqlrecord.cpp PUBLIC_LIBRARIES Qt::CorePrivate Qt::Sql diff --git a/tests/benchmarks/sql/kernel/qsqlrecord/tst_qsqlrecord.cpp b/tests/benchmarks/sql/kernel/qsqlrecord/tst_bench_qsqlrecord.cpp similarity index 99% rename from tests/benchmarks/sql/kernel/qsqlrecord/tst_qsqlrecord.cpp rename to tests/benchmarks/sql/kernel/qsqlrecord/tst_bench_qsqlrecord.cpp index c2533f817f..3b6ee93ff3 100644 --- a/tests/benchmarks/sql/kernel/qsqlrecord/tst_qsqlrecord.cpp +++ b/tests/benchmarks/sql/kernel/qsqlrecord/tst_bench_qsqlrecord.cpp @@ -226,4 +226,4 @@ void tst_QSqlRecord::benchFieldIndex() } } -#include "tst_qsqlrecord.moc" +#include "tst_bench_qsqlrecord.moc"