Reduce the number of deleted objects to reduce the number of expected error prints
authorDaniel Zaoui <daniel.zaoui@samsung.com>
Sun, 29 Sep 2013 06:34:03 +0000 (09:34 +0300)
committerDaniel Zaoui <daniel.zaoui@samsung.com>
Sun, 29 Sep 2013 06:34:03 +0000 (09:34 +0300)
src/tests/eo/suite/eo_test_general.c

index ceeed24..a9d0b2f 100644 (file)
@@ -878,15 +878,15 @@ START_TEST(eo_pointers_indirection)
         if(!eo_isa(objs[obj_id], klass))
           fail_if(!eo_isa(objs[obj_id], klass));
      }
-   /* Deletion of half of the objects */
-   for ( obj_id = 0; obj_id < NB_OBJS; obj_id+=2)
+   /* Deletion of a few objects */
+   for ( obj_id = 0; obj_id < NB_OBJS; obj_id+=2000)
      {
         eo_unref(objs[obj_id]);
         if(eo_isa(objs[obj_id], klass))
           fail_if(eo_isa(objs[obj_id], klass));
      }
-   /* Creation of half of the objects */
-   for ( obj_id = 0; obj_id < NB_OBJS; obj_id+=2)
+   /* Creation of the deleted objects */
+   for ( obj_id = 0; obj_id < NB_OBJS; obj_id+=2000)
      {
         objs[obj_id] = eo_add(klass, NULL);
         if(!objs[obj_id])