summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2022-06-27 12:59:22 +0200
committerChristian Stenger <christian.stenger@qt.io>2022-06-27 12:56:47 +0000
commit8d3c2ab348e73e43cde664eccc985486e0852bea (patch)
tree024477650abf25c5354291ddbec1eabcfe38fb57 /tests
parentfa0771549e5ff0d701ae0e32ece59be377fd542d (diff)
downloadqt-creator-8d3c2ab348e73e43cde664eccc985486e0852bea.tar.gz
Tests: Disable SSE dumper test on arm macOS
Change-Id: Idc6f769a7967fa6afb27e419238a10d631bca0fd Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/debugger/tst_dumpers.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp
index f29c9d6b67..231f8aed83 100644
--- a/tests/auto/debugger/tst_dumpers.cpp
+++ b/tests/auto/debugger/tst_dumpers.cpp
@@ -710,6 +710,12 @@ struct Cxx11Profile : public Profile
{}
};
+struct NonArmProfile : public Profile
+{
+ NonArmProfile()
+ : Profile(QByteArray()) {}
+};
+
struct BoostProfile : public Profile
{
BoostProfile()
@@ -1069,10 +1075,19 @@ public:
return *this;
}
+ const Data &operator+(const NonArmProfile &) const
+ {
+#if defined(__APPLE__) && defined(__aarch64__)
+ disabledOnARM = true;
+#endif
+ return *this;
+ }
+
public:
mutable bool useQt = false;
mutable bool useQHash = false;
mutable bool useBoost = false;
+ mutable bool disabledOnARM = false;
mutable int engines = AllEngines;
mutable int skipLevels = 0; // Levels to go 'up' before dumping variables.
mutable bool glibcxxDebug = false;
@@ -1339,6 +1354,9 @@ void tst_Dumpers::dumper()
+ QByteArray::number(data.neededLldbVersion.max)));
}
+ if (data.disabledOnARM)
+ MSKIP_SINGLE(QByteArray("Test disabled on arm macOS"));
+
QByteArray output;
QByteArray error;
@@ -6594,6 +6612,7 @@ void tst_Dumpers::dumper_data()
"&i, &sseA, &sseB")
+ Profile("QMAKE_CXXFLAGS += -msse2")
+ + NonArmProfile()
+ Check("sseA", AnyValue, "__m128")
+ Check("sseA.2", "[2]", FloatValue("4"), "float")