Changeset 481 for trunk/src/cutest_sh_unix.c
- Timestamp:
- Jul 18, 2015, 5:06:52 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/cutest_sh_unix.c
r474 r481 14 14 int j, i; 15 15 int sum; 16 #ifndef USE_SYSTEM_MALLOC 16 17 int i_malloc = malloc_count; 18 #endif 17 19 18 20 char * buf; … … 35 37 CuAssertStrEquals(tc, "testing realloctesting realloc", buf); 36 38 39 #ifndef USE_SYSTEM_MALLOC 37 40 i_malloc = malloc_count; 41 #endif 38 42 39 43 for (j = 0; j < 64; ++j) … … 60 64 CuAssertStrEquals(tc, "testing realloctesting realloc", buf); 61 65 66 #ifndef USE_SYSTEM_MALLOC 62 67 i_malloc = malloc_count; 68 #endif 63 69 64 70 for (j = 0; j < 64; ++j) … … 97 103 } 98 104 105 #ifndef USE_SYSTEM_MALLOC 99 106 i_malloc = malloc_count; 107 #endif 100 108 101 109 for (j = 0; j < nalloc; ++j) … … 122 130 for (j = 0; j < 32; ++j) 123 131 { 132 #ifndef USE_SYSTEM_MALLOC 124 133 i_malloc = malloc_count; 134 #endif 125 135 buf = malloc((j+1) * 1024 * 1024); 126 136 CuAssertPtrNotNull(tc, buf);
Note:
See TracChangeset
for help on using the changeset viewer.