ENH: read in old file formats Dart as well
This commit is contained in:
parent
065f23ba38
commit
21852384e0
@ -100,6 +100,11 @@ bool cmCTestSubdirCommand
|
|||||||
// does the CTestTestfile.cmake exist ?
|
// does the CTestTestfile.cmake exist ?
|
||||||
testFilename = "CTestTestfile.cmake";
|
testFilename = "CTestTestfile.cmake";
|
||||||
}
|
}
|
||||||
|
else if( cmSystemTools::FileExists("DartTestfile.txt") )
|
||||||
|
{
|
||||||
|
// does the DartTestfile.txt exist ?
|
||||||
|
testFilename = "DartTestfile.txt";
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// No CTestTestfile? Who cares...
|
// No CTestTestfile? Who cares...
|
||||||
@ -186,6 +191,11 @@ bool cmCTestAddSubdirectoryCommand
|
|||||||
// does the CTestTestfile.cmake exist ?
|
// does the CTestTestfile.cmake exist ?
|
||||||
testFilename = "CTestTestfile.cmake";
|
testFilename = "CTestTestfile.cmake";
|
||||||
}
|
}
|
||||||
|
else if( cmSystemTools::FileExists("DartTestfile.txt") )
|
||||||
|
{
|
||||||
|
// does the DartTestfile.txt exist ?
|
||||||
|
testFilename = "DartTestfile.txt";
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// No CTestTestfile? Who cares...
|
// No CTestTestfile? Who cares...
|
||||||
@ -1378,6 +1388,11 @@ void cmCTestTestHandler::GetListOfTests()
|
|||||||
// does the CTestTestfile.cmake exist ?
|
// does the CTestTestfile.cmake exist ?
|
||||||
testFilename = "CTestTestfile.cmake";
|
testFilename = "CTestTestfile.cmake";
|
||||||
}
|
}
|
||||||
|
if( cmSystemTools::FileExists("DartTestfile.txt") )
|
||||||
|
{
|
||||||
|
// does the DartTestfile.txt exist ?
|
||||||
|
testFilename = "DartTestfile.txt";
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
@ -224,7 +224,8 @@ int main (int argc, char *argv[])
|
|||||||
// If there is a testing input file, check for documentation options
|
// If there is a testing input file, check for documentation options
|
||||||
// only if there are actually arguments. We want running without
|
// only if there are actually arguments. We want running without
|
||||||
// arguments to run tests.
|
// arguments to run tests.
|
||||||
if(argc > 1 || !cmSystemTools::FileExists("CTestTestfile.cmake"))
|
if(argc > 1 || !(cmSystemTools::FileExists("CTestTestfile.cmake") ||
|
||||||
|
cmSystemTools::FileExists("DartTestfile.txt")))
|
||||||
{
|
{
|
||||||
if(argc == 1)
|
if(argc == 1)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user