Silence buildbot errors for unsupported Mac OS versions?

Joshua Root jmr at macports.org
Thu Nov 27 21:10:03 PST 2014


On 2014-11-28 10:03 , Leo Singer wrote:
> Hi,
> 
> I have a port, ds9, that supports only certain Mac OS variants (Lion or newer). This is currently enforced as :
> 
> platform darwin {
>     if {${os.major} <= 10} {
>         depends_lib
>         depends_run
>         ui_error "$name requires Mac OS X Lion or later."
>         error "unsupported platform"
>     }
> }
> 
> But this causes buildbot failures for the unsupported Mac OS versions. How do I suppress the buildbot failures?

You implement <https://trac.macports.org/ticket/15712> and/or some form
of "expected to fail" flag.

- Josh


More information about the macports-dev mailing list