Changeset 01de470 for tests


Ignore:
Timestamp:
May 12, 2023, 2:18:38 PM (19 months ago)
Author:
caparsons <caparson@…>
Branches:
ADT, ast-experimental, master
Children:
4dd10fb
Parents:
7c2c37a
Message:

added back initially failing test and cleaned up other test

Location:
tests/concurrent/waituntil
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • tests/concurrent/waituntil/one_chan.cfa

    r7c2c37a r01de470  
    2828    long long int total = 0;
    2929    printf("start\n");
    30     volatile size_t LINE_COUNTER = 1;
    3130    {
    3231        Server1 s[numServers];
     
    3433            waituntil( j >> C ) { total += j; }
    3534        }
    36         LINE_COUNTER = 2;
    3735        printf("waiting for empty channels\n");
    38         LINE_COUNTER = 3;
    39         // size_t C_count = get_count( C );
    40         // LINE_COUNTER = 5;
    41         // while( C_count > 0 ) {
    42         //     C_count = get_count( C );
    43         // }
    44         LINE_COUNTER = 7;
    4536        printf("sending sentinels\n");
    46         LINE_COUNTER = 11;
    4737        for ( i; numServers ) insert( C, -1 );
    48         LINE_COUNTER = 13;
    4938        printf("joining servers\n");
    50         LINE_COUNTER = 17;
    5139    }
    5240    assert(get_count( C ) == 0);
    53     LINE_COUNTER = 19;
    5441    if ( total != globalTotal )
    5542        printf("CHECKSUM MISMATCH!! Main thread got %lld, server sum is %lld\n", total, globalTotal);
Note: See TracChangeset for help on using the changeset viewer.