-/* $Id: test_strmap.c,v 1.2 2007-12-03 09:12:38 adam Exp $
+/* $Id: test_strmap.c,v 1.3 2007-12-03 17:09:01 adam Exp $
Copyright (C) 1995-2007
Index Data ApS
}
}
{
+ int failed = 0;
int i;
srand(12);
for (i = 0; i < no_iter; i++)
break;
j++;
}
- YAZ_CHECK(data_buf && data_len == sizeof v
- && v == *((int*) data_buf));
+ if (!(data_buf && data_len == sizeof v
+ && v == *((int*) data_buf)))
+ failed++;
}
+ if (failed)
+ YAZ_CHECK_EQ(failed, 0);
}
zebra_strmap_destroy(sm);
}