summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/corelib/thread/qthreadstorage/tst_bench_qthreadstorage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks/corelib/thread/qthreadstorage/tst_bench_qthreadstorage.cpp')
-rw-r--r--tests/benchmarks/corelib/thread/qthreadstorage/tst_bench_qthreadstorage.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/benchmarks/corelib/thread/qthreadstorage/tst_bench_qthreadstorage.cpp b/tests/benchmarks/corelib/thread/qthreadstorage/tst_bench_qthreadstorage.cpp
index 1361013833..47db215465 100644
--- a/tests/benchmarks/corelib/thread/qthreadstorage/tst_bench_qthreadstorage.cpp
+++ b/tests/benchmarks/corelib/thread/qthreadstorage/tst_bench_qthreadstorage.cpp
@@ -1,5 +1,5 @@
// Copyright (C) 2016 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#include <qtest.h>
#include <QtCore>
@@ -64,6 +64,7 @@ void tst_QThreadStorage::get()
int *i = ts.localData();
count += *i;
}
+ QVERIFY(count > 0);
ts.setLocalData(0);
}