forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -710,6 +710,12 @@ struct Cxx11Profile : public Profile
|
|||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct NonArmProfile : public Profile
|
||||||
|
{
|
||||||
|
NonArmProfile()
|
||||||
|
: Profile(QByteArray()) {}
|
||||||
|
};
|
||||||
|
|
||||||
struct BoostProfile : public Profile
|
struct BoostProfile : public Profile
|
||||||
{
|
{
|
||||||
BoostProfile()
|
BoostProfile()
|
||||||
@@ -1069,10 +1075,19 @@ public:
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const Data &operator+(const NonArmProfile &) const
|
||||||
|
{
|
||||||
|
#if defined(__APPLE__) && defined(__aarch64__)
|
||||||
|
disabledOnARM = true;
|
||||||
|
#endif
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
mutable bool useQt = false;
|
mutable bool useQt = false;
|
||||||
mutable bool useQHash = false;
|
mutable bool useQHash = false;
|
||||||
mutable bool useBoost = false;
|
mutable bool useBoost = false;
|
||||||
|
mutable bool disabledOnARM = false;
|
||||||
mutable int engines = AllEngines;
|
mutable int engines = AllEngines;
|
||||||
mutable int skipLevels = 0; // Levels to go 'up' before dumping variables.
|
mutable int skipLevels = 0; // Levels to go 'up' before dumping variables.
|
||||||
mutable bool glibcxxDebug = false;
|
mutable bool glibcxxDebug = false;
|
||||||
@@ -1339,6 +1354,9 @@ void tst_Dumpers::dumper()
|
|||||||
+ QByteArray::number(data.neededLldbVersion.max)));
|
+ QByteArray::number(data.neededLldbVersion.max)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (data.disabledOnARM)
|
||||||
|
MSKIP_SINGLE(QByteArray("Test disabled on arm macOS"));
|
||||||
|
|
||||||
QByteArray output;
|
QByteArray output;
|
||||||
QByteArray error;
|
QByteArray error;
|
||||||
|
|
||||||
@@ -6594,6 +6612,7 @@ void tst_Dumpers::dumper_data()
|
|||||||
"&i, &sseA, &sseB")
|
"&i, &sseA, &sseB")
|
||||||
|
|
||||||
+ Profile("QMAKE_CXXFLAGS += -msse2")
|
+ Profile("QMAKE_CXXFLAGS += -msse2")
|
||||||
|
+ NonArmProfile()
|
||||||
|
|
||||||
+ Check("sseA", AnyValue, "__m128")
|
+ Check("sseA", AnyValue, "__m128")
|
||||||
+ Check("sseA.2", "[2]", FloatValue("4"), "float")
|
+ Check("sseA.2", "[2]", FloatValue("4"), "float")
|
||||||
|
Reference in New Issue
Block a user