summaryrefslogtreecommitdiff
path: root/indra/llmath/tests/alignment_test.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-03-22 10:57:19 -0700
committerRichard Linden <none@none>2013-03-22 10:57:19 -0700
commitf1539b727946956826c7c5fb0188b7770cfbdc24 (patch)
tree8f6371c2d631f5ad26bd3a9c852fa92edee3b090 /indra/llmath/tests/alignment_test.cpp
parent5525257b8580df3dbc9860370564e19c9d6cbbaa (diff)
parent21b7de56ad6c1efd81ad4406aba1428633b9356e (diff)
Automated merge with ssh://hg.lindenlab.com/richard/viewer-interesting
Diffstat (limited to 'indra/llmath/tests/alignment_test.cpp')
-rw-r--r--indra/llmath/tests/alignment_test.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llmath/tests/alignment_test.cpp b/indra/llmath/tests/alignment_test.cpp
index 9105b1c1fd..5ee3c45502 100644
--- a/indra/llmath/tests/alignment_test.cpp
+++ b/indra/llmath/tests/alignment_test.cpp
@@ -79,7 +79,7 @@ template<> template<>
void alignment_test_object_t::test<1>()
{
# ifdef LL_DEBUG
- skip("This test fails on Windows when compiled in debug mode.");
+// skip("This test fails on Windows when compiled in debug mode.");
# endif
const int num_tests = 7;
@@ -116,7 +116,7 @@ template<> template<>
void alignment_test_object_t::test<3>()
{
# ifdef LL_DEBUG
- skip("This test fails on Windows when compiled in debug mode.");
+// skip("This test fails on Windows when compiled in debug mode.");
# endif
const int ARR_SIZE = 7;
@@ -128,12 +128,14 @@ void alignment_test_object_t::test<3>()
}
MyVector4a *veca = new MyVector4a[ARR_SIZE];
+ //std::cout << "veca base is " << (S32) veca << std::endl;
ensure("LLAligment veca base", is_aligned(veca,16));
for(int i=0; i<ARR_SIZE; i++)
{
std::cout << "veca[" << i << "]" << std::endl;
ensure("LLAlignment veca member unaligned", is_aligned(&veca[i],16));
}
+ delete [] veca;
}
}