Changeset 111478


Ignore:
Timestamp:
Sep 23, 2013, 7:49:34 PM (7 years ago)
Author:
marius@…
Message:

redirect stderr in all exec cases

Location:
trunk/base
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/macports1.0/tests/test.tcl

    r111325 r111478  
    7373# Run tests
    7474if { $test_name != ""} {
    75     set result [eval exec $tcl $test_name $arguments]
     75    set result [eval exec $tcl $test_name $arguments 2>@stderr]
    7676    puts $result
    7777
     
    8181
    8282    foreach test $test_suite {
    83         set result [eval exec $tcl $test $arguments]
     83        set result [eval exec $tcl $test $arguments 2>@stderr]
    8484        set lastline [lindex [split $result "\n"] end]
    8585
  • trunk/base/src/package1.0/tests/test.tcl

    r111372 r111478  
    7373# Run tests
    7474if { $test_name != ""} {
    75     set result [eval exec $tcl $test_name $arguments]
     75    set result [eval exec $tcl $test_name $arguments 2>@stderr]
    7676    puts $result
    7777
  • trunk/base/tests/test.tcl

    r111325 r111478  
    9292    cd test/$test_name
    9393
    94     set result [eval exec $tcl test.tcl $arguments]
     94    set result [eval exec $tcl test.tcl $arguments 2>@stderr]
    9595    puts $result
    9696
     
    9999        cd test/$test
    100100   
    101         set result [eval exec $tcl test.tcl $arguments]
     101        set result [eval exec $tcl test.tcl $arguments 2>@stderr]
    102102        set lastline [lindex [split $result "\n"] end]
    103103
Note: See TracChangeset for help on using the changeset viewer.