Changeset dfc13bb


Ignore:
Timestamp:
Sep 8, 2020, 12:08:31 PM (13 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
14d8a9b, e6b42e7
Parents:
113d785
Message:

harmonize for-loop ranges for the new resize/realloc allocation tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/heap.cfa

    r113d785 rdfc13bb  
    1010// Created On       : Tue Nov  6 17:54:56 2018
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Sep  7 18:06:06 2020
    13 // Update Count     : 71
     12// Last Modified On : Mon Sep  7 18:37:41 2020
     13// Update Count     : 72
    1414//
    1515
     
    227227        // check malloc/resize/free (mmap)
    228228
    229         for ( i; NoOfAllocs ~ 12 ) {
     229        for ( i; 2 ~ NoOfAllocs ~ 12 ) {
    230230                // initial N byte allocation
    231231                size_t s = i + default_mmap_start();                    // cross over point
     
    264264        // check malloc/realloc/free (mmap)
    265265
    266         for ( i; NoOfAllocs ~ 12 ) {
     266        for ( i; 2 ~ NoOfAllocs ~ 12 ) {
    267267                // initial N byte allocation
    268268                size_t s = i + default_mmap_start();                    // cross over point
Note: See TracChangeset for help on using the changeset viewer.