Changeset 480724a65f12026e6ae132d6c3b259ef2198a116

Show
Ignore:
Timestamp:
02/21/11 17:15:40 (3 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1298308540 +0000
git-parent:

[ec0f79b5ee03bd254353c5cb634373649f79ebc2]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1298308540 +0000
Message:

gcc 4.4 (linux) writes out its assertions differently than 4.2 (on mac)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • test/t/109_check_cancellation.t

    r8938add r480724a  
    6363$fh = get_noit_log(); 
    6464while(<$fh>) { 
    65   if(/Assertion failed:.*check->flags & NP_RUNNING.*test_abort/) { 
     65  if(/Assertion/ && /check->flags & (0x00000001|NP_RUNNING)/ && 
     66     /test_abort/) { 
    6667    $fh->close; 
    6768    ok(1, "$prefix: found assertion"); 
     
    132133$fh = get_noit_log(); 
    133134while(<$fh>) { 
    134   if(/Assertion failed:.*check->flags & NP_RUNNING.*test_abort/) { 
     135  if(/Assertion/ && /check->flags & (0x00000001|NP_RUNNING)/ && 
     136     /test_abort/) { 
    135137    $fh->close; 
    136138    ok(1, "$prefix: found assertion");