From d115f17cb84f759c2146eaaa25bf52a9d7b900f0 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Mon, 5 Jul 2021 18:24:23 +0200 Subject: [PATCH] Rename QFile benchmark's source file to tst_bench_qfile.cpp Let's have fewer files with the same main.cpp name. Change-Id: Iad94478affcca73a25ed29ba4380f1b3ca4f329d Reviewed-by: Volker Hilsheimer --- tests/benchmarks/corelib/io/qfile/CMakeLists.txt | 2 +- .../corelib/io/qfile/{main.cpp => tst_bench_qfile.cpp} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename tests/benchmarks/corelib/io/qfile/{main.cpp => tst_bench_qfile.cpp} (99%) diff --git a/tests/benchmarks/corelib/io/qfile/CMakeLists.txt b/tests/benchmarks/corelib/io/qfile/CMakeLists.txt index 6ae5029a8a3..ed14a317808 100644 --- a/tests/benchmarks/corelib/io/qfile/CMakeLists.txt +++ b/tests/benchmarks/corelib/io/qfile/CMakeLists.txt @@ -6,7 +6,7 @@ qt_internal_add_benchmark(tst_bench_qfile SOURCES - main.cpp + tst_bench_qfile.cpp PUBLIC_LIBRARIES Qt::CorePrivate Qt::Test diff --git a/tests/benchmarks/corelib/io/qfile/main.cpp b/tests/benchmarks/corelib/io/qfile/tst_bench_qfile.cpp similarity index 99% rename from tests/benchmarks/corelib/io/qfile/main.cpp rename to tests/benchmarks/corelib/io/qfile/tst_bench_qfile.cpp index fbfe753c7c0..e7026c70f93 100644 --- a/tests/benchmarks/corelib/io/qfile/main.cpp +++ b/tests/benchmarks/corelib/io/qfile/tst_bench_qfile.cpp @@ -615,4 +615,4 @@ void tst_qfile::readSmallFiles() QTEST_MAIN(tst_qfile) -#include "main.moc" +#include "tst_bench_qfile.moc"