performance measurements not working on mac

Bug #1425850 reported by Emily Bache on 2015-02-26
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

On a mac, the time command doesn't have the flag -o, so if you switch on performance measurement in texttest, it crashes with this message in stderr:

> time: illegal option -- o
> usage: time [-lp] command.

I think this could be solved by altering the command line for example:

{ time ls > command.output 2>&1 ; } 2> time.out

I suspect the same trick would work on unix, then you could support both platforms with the same code

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers