performance measurements not working on mac

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

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:

http://stackoverflow.com/questions/9388678/how-to-redirect-time-command-output-under-mac-os-x

{ 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