You've already forked macports-base
mirror of
https://github.com/macports/macports-base.git
synced 2026-07-12 18:18:43 -07:00
tests/trace: Print log on error
This commit is contained in:
committed by
Clemens Lang
parent
0bbe4ad0ee
commit
51e37f5506
@@ -33,7 +33,10 @@ proc test_trace {} {
|
||||
exec -ignorestderr touch ../tracetesttmp/rename-trace
|
||||
exec -ignorestderr file mkdir ../tracetesttmp/rmdir-trace
|
||||
|
||||
port_trace $path
|
||||
set result [port_trace $path]
|
||||
if {$result} {
|
||||
puts [exec cat $path/$output_file 2>@1]
|
||||
}
|
||||
|
||||
set err "error*"
|
||||
set line [get_line $path/$output_file $err]
|
||||
|
||||
Reference in New Issue
Block a user