echo script output to the display

Eric Gallager egall at gwmail.gwu.edu
Thu Sep 25 11:22:18 PDT 2014


On 9/25/14, Lawrence Velázquez <larryv at macports.org> wrote:
> On Sep 25, 2014, at 1:50 PM, Eric Gallager <egall at gwmail.gwu.edu> wrote:
>
>> which, on another tangent, is actually normally called `check` according
>> to the GNU Coding standards:
>> http://www.gnu.org/prep/standards/html_node/Standard-Targets.html#Standard-Targets.
>> I keep finding myself having to override the default `test.cmd` in my
>> Portfiles to set it to `check` because of this.
>
> You can achieve this with "test.target check".
>

Right, that's what I meant... derp.

>> About the actual topic of this thread, which is displaying the output
>> of the `system` command in Portfiles: I kinda wish that this output
>> was displayed as well
>
> I very much dislike this idea as a whole. I don't think any build should be
> allowed to clutter MacPorts' output without the user explicitly asking for
> verbose or debug output.

Pretty sure `ui_debug` only prints when the user uses the `-d` flag
(for "debug"), as opposed to, say, `ui_info`, which always prints.


More information about the macports-dev mailing list