summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-07-27 21:09:50 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-07-27 21:09:50 -0400
commit6a77d333d3eb876ccd64324c09cf63c0989164ca (patch)
tree8411dd4d54e0dc8c2cf00f3dfcc4fab113eb534c
parent7fcb2bdb05ca1cd6846e6c1a8227a54b2cf0dcc2 (diff)
DRTVWR-587: Skip some tests that only fail with older Visual Studio
-rw-r--r--indra/llcommon/tests/lleventdispatcher_test.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/llcommon/tests/lleventdispatcher_test.cpp b/indra/llcommon/tests/lleventdispatcher_test.cpp
index 0f27211d9e..58469313e9 100644
--- a/indra/llcommon/tests/lleventdispatcher_test.cpp
+++ b/indra/llcommon/tests/lleventdispatcher_test.cpp
@@ -1200,6 +1200,9 @@ namespace tut
void object::test<20>()
{
set_test_name("call array-style functions with right-size arrays");
+#if defined(_MSC_VER) && _MSC_VER <= 1933
+ skip("This test fails on VS older than VS2022 ver 17.4");
+#endif
std::vector<U8> binary;
for (size_t h(0x01), i(0); i < 5; h+= 0x22, ++i)
{
@@ -1238,6 +1241,9 @@ namespace tut
void object::test<21>()
{
set_test_name("verify that passing LLSD() to const char* sends NULL");
+#if defined(_MSC_VER) && _MSC_VER <= 1933
+ skip("This test fails on VS older than VS2022 ver 17.4");
+#endif
ensure_equals("Vars::cp init", v.cp, "");
work("methodna_map_mdft", LLSDMap("cp", LLSD()));
@@ -1251,6 +1257,9 @@ namespace tut
template<> template<>
void object::test<22>()
{
+#if defined(_MSC_VER) && _MSC_VER <= 1933
+ skip("This test fails on VS older than VS2022 ver 17.4");
+#endif
set_test_name("call map-style functions with (full | oversized) (arrays | maps)");
const char binary[] = "\x99\x88\x77\x66\x55";
LLSD array_full(LLSDMap