diff --git a/.kde-ci.yml b/.kde-ci.yml index 96cc9ad6..ac14b09c 100644 --- a/.kde-ci.yml +++ b/.kde-ci.yml @@ -11,4 +11,4 @@ Options: per-test-timeout: 120 # Increase timeout, because some tests are parallelized in themselves and include really large headers tests-run-in-parallel: True cppcheck-arguments: '-i tests/' - ctest-arguments: -V + diff --git a/tests/run_tests.py b/tests/run_tests.py index da54e45a..8d209086 100755 --- a/tests/run_tests.py +++ b/tests/run_tests.py @@ -491,6 +491,9 @@ def compiler_name(): _qt5_installation = find_qt_installation(5, ["QT_SELECT=5 qmake", "qmake-qt5", "qmake", "qmake5"]) else: _qt5_installation = None +if (_qt5_installation == None or _qt5_installation.int_version == 0) \ + and (_qt6_installation == None or _qt6_installation.int_version == 0): + sys.exit(1) _excluded_checks = args.exclude.split(',') if args.exclude is not None else [] # -------------------------------------------------------------------------------