[60691] trunk/base/src/port1.0/porttest.tcl

Joshua Root jmr at macports.org
Fri Nov 20 09:43:38 PST 2009


On 2031-9-15 05:59, snc at macports.org wrote:
> Revision: 60691
>           http://trac.macports.org/changeset/60691
> Author:   snc at macports.org
> Date:     2009-11-19 15:55:08 -0800 (Thu, 19 Nov 2009)
> Log Message:
> -----------
> allow use of archives for test phase
> 
> Modified Paths:
> --------------
>     trunk/base/src/port1.0/porttest.tcl
> 
> Modified: trunk/base/src/port1.0/porttest.tcl
> ===================================================================
> --- trunk/base/src/port1.0/porttest.tcl	2009-11-19 23:54:20 UTC (rev 60690)
> +++ trunk/base/src/port1.0/porttest.tcl	2009-11-19 23:55:08 UTC (rev 60691)
> @@ -7,7 +7,11 @@
>  
>  set org.macports.test [target_new org.macports.test porttest::test_main]
>  target_provides ${org.macports.test} test
> -target_requires ${org.macports.test} main fetch extract checksum patch configure build
> +if {[option portarchivemode] == "yes"} {
> +target_requires ${org.macports.test} main unarchive fetch extract checksum patch configure build
> +} else {
> +    target_requires ${org.macports.test} main fetch extract checksum patch configure build
> +}
>  target_prerun ${org.macports.test} porttest::test_start
>  
>  namespace eval porttest {

Don't the vast majority of test phases require the worksrcdir, not just
the destroot?

- Josh


More information about the macports-dev mailing list