summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-07-02 10:18:38 -0400
committerOz Linden <oz@lindenlab.com>2012-07-02 10:18:38 -0400
commit9b1208e4958859e2328ce60acc4d8efaa5dbeed2 (patch)
treecf90ac483c0bc74aefc636de8c2c34ccd8471b98 /indra
parent2c3e78f1f1f5851482e5e63d37af1325f3a19550 (diff)
disable alignment tests in debug builds (where they fail)
Diffstat (limited to 'indra')
-rwxr-xr-xindra/llmath/tests/alignment_test.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llmath/tests/alignment_test.cpp b/indra/llmath/tests/alignment_test.cpp
index dbb42c4a3d..ac0c45ae6f 100755
--- a/indra/llmath/tests/alignment_test.cpp
+++ b/indra/llmath/tests/alignment_test.cpp
@@ -67,6 +67,10 @@ class MyVector4a
template<> template<>
void alignment_test_object_t::test<1>()
{
+# ifdef LL_DEBUG
+ skip("This test fails on Windows when compiled in debug mode.");
+# endif
+
const int num_tests = 7;
void *align_ptr;
for (int i=0; i<num_tests; i++)
@@ -100,6 +104,10 @@ void alignment_test_object_t::test<2>()
template<> template<>
void alignment_test_object_t::test<3>()
{
+# ifdef LL_DEBUG
+ skip("This test fails on Windows when compiled in debug mode.");
+# endif
+
const int ARR_SIZE = 7;
for(int i=0; i<ARR_SIZE; i++)
{