From 5b5d9439768b2ff5217b664420de0531a54912b4 Mon Sep 17 00:00:00 2001 From: Rikard Falkeborn Date: Wed, 21 Aug 2019 06:51:08 +0200 Subject: [PATCH] Remove testfiles.pri (#2106) qmake is not used to build tests. The only user of testfiles.pri was removed in 392cda8bcef917f595c1de592699ae5de7ab6dbc in december 2015. --- test/testfiles.pri | 64 ---------------------------------------------- tools/dmake.cpp | 21 --------------- 2 files changed, 85 deletions(-) delete mode 100644 test/testfiles.pri diff --git a/test/testfiles.pri b/test/testfiles.pri deleted file mode 100644 index 5d771fc5f..000000000 --- a/test/testfiles.pri +++ /dev/null @@ -1,64 +0,0 @@ -# no manual edits - this file is autogenerated by dmake - -INCLUDEPATH += ../externals/tinyxml - - -SOURCES += $${BASEPATH}/test64bit.cpp \ - $${BASEPATH}/testassert.cpp \ - $${BASEPATH}/testastutils.cpp \ - $${BASEPATH}/testautovariables.cpp \ - $${BASEPATH}/testbool.cpp \ - $${BASEPATH}/testboost.cpp \ - $${BASEPATH}/testbufferoverrun.cpp \ - $${BASEPATH}/testcharvar.cpp \ - $${BASEPATH}/testclass.cpp \ - $${BASEPATH}/testcmdlineparser.cpp \ - $${BASEPATH}/testcondition.cpp \ - $${BASEPATH}/testconstructors.cpp \ - $${BASEPATH}/testcppcheck.cpp \ - $${BASEPATH}/testerrorlogger.cpp \ - $${BASEPATH}/testexceptionsafety.cpp \ - $${BASEPATH}/testfilelister.cpp \ - $${BASEPATH}/testfunctions.cpp \ - $${BASEPATH}/testgarbage.cpp \ - $${BASEPATH}/testimportproject.cpp \ - $${BASEPATH}/testincompletestatement.cpp \ - $${BASEPATH}/testinternal.cpp \ - $${BASEPATH}/testio.cpp \ - $${BASEPATH}/testleakautovar.cpp \ - $${BASEPATH}/testlibrary.cpp \ - $${BASEPATH}/testmathlib.cpp \ - $${BASEPATH}/testmemleak.cpp \ - $${BASEPATH}/testnullpointer.cpp \ - $${BASEPATH}/testoptions.cpp \ - $${BASEPATH}/testother.cpp \ - $${BASEPATH}/testpath.cpp \ - $${BASEPATH}/testpathmatch.cpp \ - $${BASEPATH}/testplatform.cpp \ - $${BASEPATH}/testpostfixoperator.cpp \ - $${BASEPATH}/testpreprocessor.cpp \ - $${BASEPATH}/testrunner.cpp \ - $${BASEPATH}/testsamples.cpp \ - $${BASEPATH}/testsimplifytemplate.cpp \ - $${BASEPATH}/testsimplifytokens.cpp \ - $${BASEPATH}/testsimplifytypedef.cpp \ - $${BASEPATH}/testsimplifyusing.cpp \ - $${BASEPATH}/testsizeof.cpp \ - $${BASEPATH}/teststl.cpp \ - $${BASEPATH}/teststring.cpp \ - $${BASEPATH}/testsuite.cpp \ - $${BASEPATH}/testsuppressions.cpp \ - $${BASEPATH}/testsymboldatabase.cpp \ - $${BASEPATH}/testthreadexecutor.cpp \ - $${BASEPATH}/testtimer.cpp \ - $${BASEPATH}/testtoken.cpp \ - $${BASEPATH}/testtokenize.cpp \ - $${BASEPATH}/testtokenlist.cpp \ - $${BASEPATH}/testtype.cpp \ - $${BASEPATH}/testuninitvar.cpp \ - $${BASEPATH}/testunusedfunctions.cpp \ - $${BASEPATH}/testunusedprivfunc.cpp \ - $${BASEPATH}/testunusedvar.cpp \ - $${BASEPATH}/testvaarg.cpp \ - $${BASEPATH}/testvalueflow.cpp \ - $${BASEPATH}/testvarid.cpp diff --git a/tools/dmake.cpp b/tools/dmake.cpp index a07ef5b6e..fecb8c214 100644 --- a/tools/dmake.cpp +++ b/tools/dmake.cpp @@ -178,27 +178,6 @@ int main(int argc, char **argv) } } - // QMAKE - test/testfiles.pri - { - std::ofstream fout1("test/testfiles.pri"); - if (fout1.is_open()) { - fout1 << "# no manual edits - this file is autogenerated by dmake\n\n"; - fout1 << "INCLUDEPATH += ../externals/tinyxml\n"; - fout1 << "\n\nSOURCES += "; - for (const std::string &testfile : testfiles) { - const std::string filename(testfile.substr(5)); - // Include only files containing tests in this listing. - // I.e. filenames beginning with "test". - if (filename.compare(0, 4, "test") == 0) { - fout1 << "$${BASEPATH}/" << filename; - if (testfile != testfiles.back()) - fout1 << " \\\n" << std::string(11, ' '); - } - } - fout1 << "\n"; - } - } - static const char makefile[] = "Makefile"; std::ofstream fout(makefile, std::ios_base::trunc); if (!fout.is_open()) {