Index: /trunk/psLib/test/mathtypes/tap_psVector.c
===================================================================
--- /trunk/psLib/test/mathtypes/tap_psVector.c	(revision 7804)
+++ /trunk/psLib/test/mathtypes/tap_psVector.c	(revision 7805)
@@ -13,8 +13,10 @@
 
         ok(psVec != NULL, "psVector successfully allocated");
+        skip_start(psVec == NULL, 4, "Skipping 4 tests because psVectorAlloc() failed");
         ok(psVec->nalloc == 5, "Vector size = %ld", psVec->nalloc);
         ok(psVec->n == 0, "Vector population = %ld", psVec->n);
-        ok (psVec->type.type == PS_TYPE_S32, "Vector type = %d", psVec->type.type);
+        ok(psVec->type.type == PS_TYPE_S32, "Vector type = %d", psVec->type.type);
         ok(psVec->type.dimen == PS_DIMEN_VECTOR, "Vector dimen = %d", psVec->type.dimen);
+        skip_end();
 
         psFree(psVec);
@@ -25,6 +27,8 @@
 
         ok(vecZero != NULL, "zero-length vector allocated");
+        skip_start(vecZero == NULL, 2, "Skipping 2 tests because psVectorAlloc() failed");
         ok(vecZero->nalloc == 0, "Vector size = %ld", vecZero->nalloc);
         ok(vecZero->n == 0, "Vector population = %ld", vecZero->n);
+        skip_end();
 
         psFree(vecZero);
@@ -61,8 +65,10 @@
         psVec = psVectorRealloc(psVec,10);
         ok(psVec != NULL, "test vector reallocated to bigger size");
+        skip_start(psVec == NULL, 4, "Skipping 4 tests because psVectorRealloc() failed");
         ok(psVec->nalloc == 10, "Vector size = %ld", psVec->nalloc);
         ok(psVec->n == 5, "Vector population = %ld", psVec->n);
         ok(psVec->type.type == PS_TYPE_S32, "Vector type = %d", psVec->type.type);
         ok(psVec->type.dimen == PS_DIMEN_VECTOR, "Vector dimen = %d", psVec->type.dimen);
+        skip_end();
 
         // generate test data values
@@ -73,7 +79,9 @@
 
         // test data values
+        skip_start(psVec == NULL, 10, "Skipping 10 tests because psVectorRealloc() failed");
         for(psS32 i = 0; i < 10; i++) {
             ok (psVec->data.S32[i] == i*10, "Elem %d = %d, expected %d", i, psVec->data.S32[i], i*10);
         }
+        skip_end();
 
         psFree(psVec);
@@ -87,4 +95,5 @@
 
         ok(psVec != NULL, "test vector reallocated to smaller size");
+        skip_start(psVec == NULL, 5, "Skipping 6 tests because psVectorRealloc() failed");
         ok(psVec->nalloc == 3, "Vector size = %ld", psVec->nalloc);
         ok(psVec->n == 3, "Vector population = %ld", psVec->n);
@@ -94,10 +103,17 @@
             ok (psVec->data.S32[i] == i*10, "Elem %d = %d, expected %d", i, psVec->data.S32[i], i*10);
         }
-
+        skip_end();
+    }
+
+    {
         // reallocate to 0 length
+        psVector *psVec = psVectorAlloc(5, PS_TYPE_S32);
         psVec = psVectorRealloc(psVec,0);
+
         ok(psVec != NULL, "test vector reallocated to zero length");
+        skip_start(psVec == NULL, 2, "Skipping 2 tests because psVectorRealloc() failed");
         ok(psVec->nalloc == 0, "Vector size = %ld", psVec->nalloc);
         ok(psVec->n == 0, "Vector population = %ld", psVec->n);
+        skip_end();
 
         // Test E - Free S32 vector
@@ -131,6 +147,8 @@
 
         ok(psVec != NULL, "test vector extended");
+        skip_start(psVec == NULL, 2, "Skipping 2 tests because psVectorExtend() failed");
         ok(psVec->nalloc == 5, "Vector size = %ld", psVec->nalloc);
         ok(psVec->n == 2, "Vector population = %ld", psVec->n);
+        skip_end();
 
         psFree(psVec);
@@ -143,6 +161,8 @@
 
         ok(psVec != NULL, "test vector extended");
+        skip_start(psVec == NULL, 2, "Skipping 2 tests because psVectorExtend() failed");
         ok(psVec->nalloc == 5, "Vector size = %ld", psVec->nalloc);
         ok(psVec->n == 4,"Vector population = %ld", psVec->n);
+        skip_end();
 
         psFree(psVec);
@@ -156,6 +176,8 @@
 
         ok(psVec != NULL, "test vector extended");
+        skip_start(psVec == NULL, 2, "Skipping 2 tests because psVectorExtend() failed");
         ok(psVec->nalloc == 5 ,"Vector size = %ld", psVec->nalloc);
         ok(psVec->n == 2, "Vector population = %ld", psVec->n);
+        skip_end();
 
         psFree(psVec);
@@ -170,6 +192,8 @@
 
         ok(psVec != NULL, "test vector extended");
+        skip_start(psVec == NULL, 2, "Skipping 2 tests because psVectorExtend() failed");
         ok(psVec->nalloc == 5, "Vector size = %ld", psVec->nalloc);
         ok(psVec->n == 0, "Vector population = %ld", psVec->n);
+        skip_end();
 
         psFree(psVec);
@@ -490,7 +514,9 @@
         psVector *copy = psVectorCopy(NULL, in, PS_TYPE_F64);
         ok(copy != NULL, "returned a non NULL vector for correct input");
+        skip_start(copy == NULL, 1, "Skipping 1 test because psVectorCopy() failed");
         ok(copy->data.F64[2] == 2.0,
            "copy->data.f64[2] = %lf, in->data.f32[2] = %f",
            copy->data.F64[2], in->data.F32[2]);
+        skip_end();
 
         psFree(in);
