test.run yes -- what's it do?

Elias Pipping pipping at macports.org
Mon Mar 26 07:16:18 PDT 2007


the testsuite is only run when invoked via 'port (-d)* test foo' iirc


Regards,

Elias

On Mar 26, 2007, at 11:17 AM, Ryan Schmidt wrote:

> I'm trying to figure out if "test.run yes" actually does anything.
>
> For example, the port judy includes "test.run yes", but installing  
> with debugging and verbose output on, I can find no evidence that  
> any test is being run.
>
> My interest stems from the fftw-3 portfile, which includes this:
>
> post-build {
>        cd ${worksrcpath}
>        system "make check"
> }
>
> I assumed this was just because the port author at the time did not  
> know about:
>
> test.run yes
> test.target check
>
> but the post-build definitely does run "make check", whereas if I  
> replace the post-build section with the above test.run and  
> test.target directives, I don't think "make check" gets run.
>
> I'm running MacPorts compiled from the 1.5 trunk, on an Intel Core  
> 2 Duo MacBook Pro.
>
> Anyone know what's up?
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users




More information about the macports-users mailing list