Upgrade and test

Blair Zajac blair at orcaware.com
Fri Apr 11 06:07:34 PDT 2008

On Apr 9, 2008, at 11:22 AM, Daniel J. Luke wrote:
> On Apr 9, 2008, at 12:43 PM, Blair Zajac wrote:
>> Currently I don't use the upgrade feature for two reasons and end  
>> up manually removing, building, testing and installing each port by  
>> hand:
>> 1) Can't test the build before upgrading.  Having 'port upgrade -- 
>> test foo' would be nice.
> You could do port test foo && port upgrade foo if you wanted, but  
> this might be a nice feature (and/or a conf setting to always run  
> the test phase if it's available).

The nice thing about upgrade is that it remembers your variants (at  
least I think it does) so if you have any, then you don't have to do

port -v test foo +bar && port -v upgrade foo

If you had a test option, then you could do

port -v --test upgrade foo

and it would use the +bar variant.


Blair Zajac, Ph.D.
CTO, OrcaWare Technologies
<blair at orcaware.com>
Subversion training, consulting and support

More information about the macports-dev mailing list