Commit d725f0d2 authored by Jean-Loup Haberbusch's avatar Jean-Loup Haberbusch

UPDATED Tests config

parent bb35fe53
......@@ -40,6 +40,7 @@ using namespace camitk;
const QStringList getFileInQStringList(const QString& fileToRead) {
QFile file(fileToRead);
CAMITK_TRACE_ALT(fileToRead);
QStringList stringList;
if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) {
return stringList;
......@@ -66,7 +67,7 @@ void QTestactionTests::initTestCase() {
//-- init the camitk application context
// no log , no time stamp for reproducible log diff
Log::getLogger()->setLogLevel(InterfaceLogger::NONE);
Log::getLogger()->setLogLevel(InterfaceLogger::TRACE);
Log::getLogger()->setTimeStampInformation(false);
myCamitkApp = new camitk::Application("camitk-testactions", argc, argv, false, false); // No autoload + registerFileExtension false to avoid the execution of this testapp hampered by PopUp message
......
......@@ -52,9 +52,9 @@ macro(camitk_disable_tests)
foreach(TEST_NAME ${CAMITK_DISABLE_TESTS_TESTS})
if(${CMAKE_VERSION} VERSION_LESS "3.9")
set(DISABLE_MESSAGE ${DISABLE_MESSAGE} " Unconditionally disabling test ${TEST_NAME} (using WILL_FAIL property)\n")
set_tests_properties(${TEST_NAME} PROPERTIES WILL_FAIL true)
# set_tests_properties(${TEST_NAME} PROPERTIES WILL_FAIL true)
else()
set(DISABLE_MESSAGE ${DISABLE_MESSAGE} " Unconditionally disabling test ${TEST_NAME}\n")
# set(DISABLE_MESSAGE ${DISABLE_MESSAGE} " Unconditionally disabling test ${TEST_NAME}\n")
set_tests_properties(${TEST_NAME} PROPERTIES DISABLED true)
endif()
endforeach()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment