Ignore:
Timestamp:
Jun 28, 2021, 3:37:48 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
d0da7ed
Parents:
1781e97
Message:

disjoint test now aborts to allow inspecting core dump

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/concurrent/signal/disjoint.cfa

    r1781e97 r8a07213  
    7777        wait( cond );
    7878        if( d.state != SIGNAL ) {
    79                 sout | "ERROR barging!";
     79                abort | "ERROR barging!";
    8080        }
    8181
     
    113113        bool running = TEST(globals.data.counter < N) && globals.data.counter > 0;
    114114        if( globals.data.state != SIGNAL && running ) {
    115                 sout | "ERROR Eager signal" | globals.data.state;
     115                abort | "ERROR Eager signal" | globals.data.state;
    116116        }
    117117}
Note: See TracChangeset for help on using the changeset viewer.