Changeset 118606 for trunk/base/tests


Ignore:
Timestamp:
Apr 5, 2014, 8:29:56 PM (6 years ago)
Author:
cal@…
Message:

base: tracemode test: don't fail on unsupported platforms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/tests/test/trace/test.tcl

    r118603 r118606  
    3030    makeDirectory ../tracetesttmp
    3131    if {[getuid] == 0} {
    32                 file attributes ../tracetesttmp -owner $user
     32        file attributes ../tracetesttmp -owner $user
    3333        exec chown -h $user /tmp/link-trace2
    3434    }
     
    5151    set err "error*"
    5252    set line [get_line $path/$output_file $err]
    53     if { $line == -1 } {
     53    set unsupported [get_line $path/$output_file "*tracelib not supported on this platform*"]
     54    if {$unsupported != -1 || $line == -1} {
    5455        return "No errors found."
    5556    } else {
Note: See TracChangeset for help on using the changeset viewer.