performance measurements not working on mac
Bug #1425850 reported by
Emily Bache
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
TextTest |
New
|
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://
{ 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.