Rev 2028 | Rev 2050 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2028 | Rev 2029 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | uintptr_t * frames = (uintptr_t *) malloc(MAX_FRAMES * sizeof(uintptr_t), 0); |
44 | uintptr_t * frames = (uintptr_t *) malloc(MAX_FRAMES * sizeof(uintptr_t), 0); |
45 | int results[MAX_ORDER + 1]; |
45 | int results[MAX_ORDER + 1]; |
46 | 46 | ||
47 | int i, order, run; |
47 | int i, order, run; |
48 | int allocated; |
48 | int allocated; |
49 | 49 | ||
50 | ASSERT(TEST_RUNS > 1); |
50 | if (TEST_RUNS < 2) |
- | 51 | return "Test is compiled with TEST_RUNS < 2"; |
|
- | 52 | ||
51 | if (frames == NULL) |
53 | if (frames == NULL) |
52 | return "Unable to allocate frames"; |
54 | return "Unable to allocate frames"; |
53 | 55 | ||
54 | for (run = 0; run < TEST_RUNS; run++) { |
56 | for (run = 0; run < TEST_RUNS; run++) { |
55 | for (order = 0; order <= MAX_ORDER; order++) { |
57 | for (order = 0; order <= MAX_ORDER; order++) { |