Forcing the test phase to be run by default in a Portfile?

Anders F Björklund afb at macports.org
Sun Mar 30 23:56:46 PDT 2008


Frederick Akalin wrote:
> I want to have the test phase run automatically for a particular port
>  because it is important to guarantee correctness for that port (in
>  this case, I'm working with gmp).  I couldn't find a switch to do it;
>  test.run only enables the test phase and does not have it run.  Is
>  there an easy way to do this?

If the test is indeed mandatory, then move it from the "test" phase
to the "build" phase instead. Worst case, it is just being run twice...

--anders



More information about the macports-dev mailing list