From a9a70165f565a2326b6723fe58aa2857442c151a Mon Sep 17 00:00:00 2001 From: Daniel Savchenko <dsavchenko@carlos.informatik.rwth-aachen.de> Date: Tue, 15 Oct 2024 18:39:38 +0200 Subject: [PATCH] even more verbose? And try to remove library check for debugging --- Core/Core.cc | 20 ++++++++++---------- tests/run_tests.py | 4 +--- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/Core/Core.cc b/Core/Core.cc index f6d936ef..edb91318 100644 --- a/Core/Core.cc +++ b/Core/Core.cc @@ -1949,20 +1949,20 @@ bool Core::checkLibraryVersions() { // bool ok = true; // bool warn = false; - QString messages; +// QString messages; - QString qtCompiledVersion = QString( QT_VERSION_STR ); - QString qtCurrentVersion = qVersion(); +// QString qtCompiledVersion = QString( QT_VERSION_STR ); +// QString qtCurrentVersion = qVersion(); - if ( qtCompiledVersion != qtCurrentVersion ) { - messages += tr("QT Library Version mismatch!\n"); +// if ( qtCompiledVersion != qtCurrentVersion ) { +// messages += tr("QT Library Version mismatch!\n"); - messages += tr("Currently used QT Version:\t") + qVersion() + "\n"; - messages += tr("Link time QT Version:\t\t") + QString( QT_VERSION_STR ) + "\n"; - messages += tr("This inconsistency may lead to an unstable behavior of OpenFlipper!"); +// messages += tr("Currently used QT Version:\t") + qVersion() + "\n"; +// messages += tr("Link time QT Version:\t\t") + QString( QT_VERSION_STR ) + "\n"; +// messages += tr("This inconsistency may lead to an unstable behavior of OpenFlipper!"); -// warn = true; - } +// // warn = true; +// } // if ( !ok ) { // QString message = tr("Error! Library tests failed!\n"); diff --git a/tests/run_tests.py b/tests/run_tests.py index 5e4adb21..583f4512 100644 --- a/tests/run_tests.py +++ b/tests/run_tests.py @@ -130,8 +130,6 @@ elif sys.platform == "win32": cmake_parameters = [cmake_executable, gtest_prefix , "-G", cmake_generator ,"-DCMAKE_BUILD_TYPE=Debug","-DOPENFLIPPER_BUILD_UNIT_TESTS=TRUE" ] - cmake_parameters.append("-DCMAKE_VERBOSE_MAKEFILE=ON") - cmake_parameters.extend(cmake_configuration_list) cmake_parameters.append("..") @@ -186,7 +184,7 @@ print("Working directory for test execution: " + os.getcwd(), flush=True) # call ctest ctest = subprocess.run( - [ctest_executable, "-C", "Debug", "--no-tests=error", "--no-compress-output", "--output-on-failure","--gtest_output=xml:report.xml", "--debug"]) + [ctest_executable, "-C", "Debug", "--no-tests=error", "--no-compress-output", "--output-on-failure","--gtest_output=xml:report.xml", "--extra-verbose"]) print("Return Code: ", ctest.returncode) -- GitLab