tst_selftests: disable Valgrind tests with AVX512/AVX10
Valgrind does not support those instructions yet so these tests always fail. Skip them. When it gets support for them, we can do a version check. See https://bugs.kde.org/show_bug.cgi?id=383010 Change-Id: I954b2b6a9bbef1a31833fffd1cc4bc33dce353ed Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 0b41b81b9febc8f0dafd0a6a8e6571333e5415d3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
d61a15d043
commit
53835c957b
@ -675,6 +675,10 @@ bool TestLogger::shouldIgnoreTest(const QString &test) const
|
||||
|
||||
if (test == "benchlibcallgrind") {
|
||||
#if defined(__GNUC__) && (defined(__i386) || defined(__x86_64)) && defined(Q_OS_LINUX)
|
||||
# ifdef __AVX512F__
|
||||
WARN("Valgrind does not support AVX512/AVX10 as of the time of this writing");
|
||||
return true;
|
||||
# endif
|
||||
// Check that it's actually available
|
||||
QProcess checkProcess;
|
||||
QStringList args{u"--version"_s};
|
||||
|
Loading…
x
Reference in New Issue
Block a user