Running Test Phase after Mpkg/Destroot

Joshua Root jmr at macports.org
Mon Oct 1 12:18:34 PDT 2012


On 2012-10-2 04:34 , Jeremy Lavergne wrote:
> I installed a package (with auto-clean on), then created a pkg from it. I then tried running test phase which error'd out because the build dir wasn't around to run tests (e.g. `make check`).
> 
> Are unarchive/mpkg/mdmg phases that allow the test phase?
> 
> m-vm-108:pspp-devel aeetes$ cat work/.macports.pspp-devel.state 
> version: 2
> checksum: afe1f7638c6b5398e0f667f507e3a85e835479faa06a1b816195f72ef09ad825
> variant: +gui
> variant: +graph
> variant: +quartz
> target: org.macports.archivefetch
> target: org.macports.fetch
> target: org.macports.checksum
> target: org.macports.extract
> target: org.macports.patch
> target: org.macports.configure
> target: org.macports.build
> target: org.macports.destroot

This is pretty much unavoidable (with the current archive use model) if
you do something that allows extracting an archive first.

- Josh


More information about the macports-dev mailing list