Remove testfiles.pri (#2106)

qmake is not used to build tests. The only user of testfiles.pri was
removed in 392cda8bce in december 2015.
This commit is contained in:
Rikard Falkeborn 2019-08-21 06:51:08 +02:00 committed by Daniel Marjamäki
parent e3d606d127
commit 5b5d943976
2 changed files with 0 additions and 85 deletions

View File

@ -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

View File

@ -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"; static const char makefile[] = "Makefile";
std::ofstream fout(makefile, std::ios_base::trunc); std::ofstream fout(makefile, std::ios_base::trunc);
if (!fout.is_open()) { if (!fout.is_open()) {