Changeset ebd1899


Ignore:
Timestamp:
Dec 21, 2020, 9:58:19 AM (4 years ago)
Author:
caparsons <caparson@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
de2f969
Parents:
089b1a9a
Message:

tweaked unified locking tests and added expect files

Location:
tests
Files:
2 added
2 moved

Legend:

Unmodified
Added
Removed
  • tests/unified_locking/timeout_lock.cfa

    r089b1a9a rebd1899  
    2626        lock(m);
    2727        wait( c_m, m, 1`s );
    28         printf("Thread: %p timedout\n", active_thread());
     28        // printf("Thread: %p timedout\n", active_thread()); // removed since can't expect non deterministic output
    2929
    3030        block();
     
    3434        for ( unsigned int i = 0; i < NoOfTimes + 3; i += 1 ) {
    3535            if ( wait( c_m, m, 1`s ) ) {
    36                         printf("Thread: %p signalled\n", active_thread());
     36                        // printf("Thread: %p signalled\n", active_thread()); // removed since can't expect non deterministic output
    3737            } else {
    38                         printf("Thread: %p timedout\n", active_thread());
     38                        // printf("Thread: %p timedout\n", active_thread()); // removed since can't expect non deterministic output
    3939            } // if
    4040
Note: See TracChangeset for help on using the changeset viewer.