diff options
Diffstat (limited to 'indra/llmath/tests')
| -rwxr-xr-x | indra/llmath/tests/alignment_test.cpp | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/indra/llmath/tests/alignment_test.cpp b/indra/llmath/tests/alignment_test.cpp index 51a7051e69..dc9b41957d 100755 --- a/indra/llmath/tests/alignment_test.cpp +++ b/indra/llmath/tests/alignment_test.cpp @@ -72,6 +72,10 @@ void alignment_test_object_t::test<1>()  	{
  		align_ptr = ll_aligned_malloc_16(sizeof(MyVector4a));
  		ensure("ll_aligned_malloc_16 failed", is_aligned(align_ptr,16));
 +
 +		align_ptr = ll_aligned_realloc_16(2*sizeof(MyVector4a));
 +		ensure("ll_aligned_realloc_16 failed", is_aligned(align_ptr,16));
 +
  		ll_aligned_free_16(align_ptr);
  		align_ptr = ll_aligned_malloc_32(sizeof(MyVector4a));
 @@ -84,8 +88,6 @@ void alignment_test_object_t::test<1>()  template<> template<>
  void alignment_test_object_t::test<2>()
  {
 -	ensure("LLAlignment reality is broken: ", (1==1));
 -
  	MyVector4a vec1;
  	ensure("LLAlignment vec1 unaligned", is_aligned(&vec1,16));
 | 
