Skip to content

Commit

Permalink
Merge 0480536 into 7035b61
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Aug 11, 2020
2 parents 7035b61 + 0480536 commit a5cec12
Show file tree
Hide file tree
Showing 60 changed files with 754 additions and 9,722 deletions.
3 changes: 3 additions & 0 deletions cmake/clcachewrapper.c
Expand Up @@ -43,6 +43,9 @@ int main(int pArgC, char *pArgV[])
if (pArgV[i][j] == '\\') {
clcacheCommand[++k] = '\\';
clcacheCommand[++k] = '\\';
} else if (pArgV[i][j] == '"') {
clcacheCommand[++k] = '\\';
clcacheCommand[++k] = '"';
} else {
clcacheCommand[++k] = pArgV[i][j];
}
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/editing/CellMLTextView/tests/clitests.cpp
Expand Up @@ -109,7 +109,7 @@ void CliTests::exportTests()

//==============================================================================

QTEST_GUILESS_MAIN(CliTests)
QTEST_APPLESS_MAIN(CliTests)

//==============================================================================
// End of file
Expand Down
Expand Up @@ -771,7 +771,7 @@ void ConversionTests::warningConversionTests()

//==============================================================================

QTEST_GUILESS_MAIN(ConversionTests)
QTEST_APPLESS_MAIN(ConversionTests)

//==============================================================================
// End of file
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/editing/CellMLTextView/tests/parsingtests.cpp
Expand Up @@ -1959,7 +1959,7 @@ void ParsingTests::mapTests()

//==============================================================================

QTEST_GUILESS_MAIN(ParsingTests)
QTEST_APPLESS_MAIN(ParsingTests)

//==============================================================================
// End of file
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/editing/CellMLTextView/tests/scanningtests.cpp
Expand Up @@ -818,7 +818,7 @@ void ScanningTests::scanningNumberTests()

//==============================================================================

QTEST_GUILESS_MAIN(ScanningTests)
QTEST_APPLESS_MAIN(ScanningTests)

//==============================================================================
// End of file
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/miscellaneous/Compiler/tests/tests.cpp
Expand Up @@ -1063,7 +1063,7 @@ void Tests::lcmFunctionTests()

//==============================================================================

QTEST_GUILESS_MAIN(Tests)
QTEST_APPLESS_MAIN(Tests)

//==============================================================================
// End of file
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/miscellaneous/Core/tests/clitests.cpp
Expand Up @@ -149,7 +149,7 @@ void CliTests::cliStatusTests()

//==============================================================================

QTEST_GUILESS_MAIN(CliTests)
QTEST_APPLESS_MAIN(CliTests)

//==============================================================================
// End of file
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/miscellaneous/Core/tests/mathmltests.cpp
Expand Up @@ -284,7 +284,7 @@ void MathmlTests::trigonometricTests()

//==============================================================================

QTEST_GUILESS_MAIN(MathmlTests)
QTEST_APPLESS_MAIN(MathmlTests)

//==============================================================================
// End of file
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/support/PythonSupport/tests/basictests.cpp
Expand Up @@ -40,12 +40,12 @@ void BasicTests::tests()
QStringList output;

QVERIFY(!OpenCOR::runCli({ "-c", "PythonShell", OpenCOR::fileName("src/plugins/support/PythonSupport/tests/data/basictests.py") }, output));
QCOMPARE(output, OpenCOR::fileContents(OpenCOR::fileName(QString("src/plugins/support/PythonSupport/tests/data/%1/basictests.out").arg(OpenCOR::targetPlatformDir()))));
QCOMPARE(output, OpenCOR::fileContents(OpenCOR::fileName("src/plugins/support/PythonSupport/tests/data/basictests.out")));
}

//==============================================================================

QTEST_GUILESS_MAIN(BasicTests)
QTEST_APPLESS_MAIN(BasicTests)

//==============================================================================
// End of file
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/support/PythonSupport/tests/coveragetests.cpp
Expand Up @@ -41,12 +41,12 @@ void CoverageTests::tests()
QStringList output;

QVERIFY(!OpenCOR::runCli({ "-c", "PythonShell", OpenCOR::fileName("src/plugins/support/PythonSupport/tests/data/coveragetests.py") }, output));
QCOMPARE(output, OpenCOR::fileContents(OpenCOR::fileName(QString("src/plugins/support/PythonSupport/tests/data/%1/coveragetests.out").arg(OpenCOR::targetPlatformDir()))));
QCOMPARE(output, OpenCOR::fileContents(OpenCOR::fileName("src/plugins/support/PythonSupport/tests/data/coveragetests.out")));
}

//==============================================================================

QTEST_GUILESS_MAIN(CoverageTests)
QTEST_APPLESS_MAIN(CoverageTests)

//==============================================================================
// End of file
Expand Down

Large diffs are not rendered by default.

0 comments on commit a5cec12

Please sign in to comment.