From d0f9743d3b6dce647f4cbb6d2b58ce6660f61b62 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Mon, 19 Jul 2021 17:25:56 +0200 Subject: [PATCH] Rename QMap benchmark source file to match test name s/main/tst_bench_qmap/g Change-Id: Ic520254f5b5f946f4eaa234352317749a9a7301f Reviewed-by: Giuseppe D'Angelo Reviewed-by: Andrei Golubev --- tests/benchmarks/corelib/tools/qmap/CMakeLists.txt | 2 +- .../corelib/tools/qmap/{main.cpp => tst_bench_qmap.cpp} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename tests/benchmarks/corelib/tools/qmap/{main.cpp => tst_bench_qmap.cpp} (99%) diff --git a/tests/benchmarks/corelib/tools/qmap/CMakeLists.txt b/tests/benchmarks/corelib/tools/qmap/CMakeLists.txt index 5937eda37c..f4b389ad08 100644 --- a/tests/benchmarks/corelib/tools/qmap/CMakeLists.txt +++ b/tests/benchmarks/corelib/tools/qmap/CMakeLists.txt @@ -6,7 +6,7 @@ qt_internal_add_benchmark(tst_bench_qmap SOURCES - main.cpp + tst_bench_qmap.cpp INCLUDE_DIRECTORIES . PUBLIC_LIBRARIES diff --git a/tests/benchmarks/corelib/tools/qmap/main.cpp b/tests/benchmarks/corelib/tools/qmap/tst_bench_qmap.cpp similarity index 99% rename from tests/benchmarks/corelib/tools/qmap/main.cpp rename to tests/benchmarks/corelib/tools/qmap/tst_bench_qmap.cpp index f6512ca2c3..b3b2934580 100644 --- a/tests/benchmarks/corelib/tools/qmap/main.cpp +++ b/tests/benchmarks/corelib/tools/qmap/tst_bench_qmap.cpp @@ -301,4 +301,4 @@ void tst_QMap::insertMap() QTEST_MAIN(tst_QMap) -#include "main.moc" +#include "tst_bench_qmap.moc"