[111305] branches/gsoc13-tests/src/package1.0/tests/test.tcl

Joshua Root jmr at macports.org
Wed Sep 18 23:04:07 PDT 2013


> Revision: 111305
>           https://trac.macports.org/changeset/111305
> Author:   marius at macports.org
> Date:     2013-09-18 13:15:08 -0700 (Wed, 18 Sep 2013)
> Log Message:
> -----------
> package1.0: added -ignorestderr option
> 
> Modified Paths:
> --------------
>     branches/gsoc13-tests/src/package1.0/tests/test.tcl
> 
> Modified: branches/gsoc13-tests/src/package1.0/tests/test.tcl
> ===================================================================
> --- branches/gsoc13-tests/src/package1.0/tests/test.tcl	2013-09-18 20:09:03 UTC (rev 111304)
> +++ branches/gsoc13-tests/src/package1.0/tests/test.tcl	2013-09-18 20:15:08 UTC (rev 111305)
> @@ -80,7 +80,7 @@
>      set test_suite [glob *.test]
>  
>      foreach test $test_suite {
> -        set result [eval exec $tcl $test $arguments]
> +        set result [eval exec -ignorestderr $tcl $test $arguments]

This does not work in Tcl 8.4. Redirecting stderr anywhere (even to
itself) will prevent an error being thrown when it's written to.

- Josh


More information about the macports-dev mailing list