From c15714191cfe36de140b360f1eddb715c48f10d4 Mon Sep 17 00:00:00 2001 From: Fabian Kosmale Date: Mon, 20 Jun 2022 08:24:53 +0200 Subject: tst_qthread: Fix compilation under ubsan We missed the terminating ";" in the QSKIP lines. Amends ea4d6b987ae10f1bb910081b523c3b22b11f7b64 Pick-to: 6.3 6.4 Change-Id: Ibda43b8a84230c243dbcc74e157f4c3f8ef3891d Reviewed-by: Volker Hilsheimer --- tests/auto/corelib/thread/qthread/tst_qthread.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/auto/corelib/thread/qthread/tst_qthread.cpp b/tests/auto/corelib/thread/qthread/tst_qthread.cpp index 54309cbcb1..3202d57409 100644 --- a/tests/auto/corelib/thread/qthread/tst_qthread.cpp +++ b/tests/auto/corelib/thread/qthread/tst_qthread.cpp @@ -463,7 +463,7 @@ void tst_QThread::terminate() QSKIP("Thread termination is not supported on Android."); #endif #if defined(__SANITIZE_ADDRESS__) || __has_feature(address_sanitizer) - QSKIP("Thread termination might result in stack underflow address sanitizer errors.") + QSKIP("Thread termination might result in stack underflow address sanitizer errors."); #endif Terminate_Thread thread; @@ -533,7 +533,7 @@ void tst_QThread::terminated() QSKIP("Thread termination is not supported on Android."); #endif #if defined(__SANITIZE_ADDRESS__) || __has_feature(address_sanitizer) - QSKIP("Thread termination might result in stack underflow address sanitizer errors.") + QSKIP("Thread termination might result in stack underflow address sanitizer errors."); #endif SignalRecorder recorder; @@ -1748,7 +1748,7 @@ Q_SIGNALS: void tst_QThread::terminateAndPrematureDestruction() { #if defined(__SANITIZE_ADDRESS__) || __has_feature(address_sanitizer) - QSKIP("Thread termination might result in stack underflow address sanitizer errors.") + QSKIP("Thread termination might result in stack underflow address sanitizer errors."); #endif WaitToRun_Thread thread; @@ -1768,7 +1768,7 @@ void tst_QThread::terminateAndPrematureDestruction() void tst_QThread::terminateAndDoubleDestruction() { #if defined(__SANITIZE_ADDRESS__) || __has_feature(address_sanitizer) - QSKIP("Thread termination might result in stack underflow address sanitizer errors.") + QSKIP("Thread termination might result in stack underflow address sanitizer errors."); #endif class ChildObject : public QObject -- cgit v1.2.3