Re: PING: Re: [PATCH 05/05] Add command-line option-parsing to jit testcases

2014-12-08 Thread Mike Stump
On Dec 8, 2014, at 5:29 PM, David Malcolm wrote: > The only stuff I'm using getopt_long for is to make the binaries built > by jit.exp be more flexible e.g. so that I can turn down the number of > iterations they run when running under valgrind (and potentially other > tweaks, so e.g. I can experi

Re: PING: Re: [PATCH 05/05] Add command-line option-parsing to jit testcases

2014-12-08 Thread David Malcolm
On Mon, 2014-12-08 at 13:57 -0800, Mike Stump wrote: > On Dec 8, 2014, at 12:44 PM, David Malcolm > wrote: > > On Tue, 2014-11-25 at 20:34 -0500, David Malcolm wrote: > >> Add command-line option-parsing to the testcases, so that we can > >> manipulate them without needing a recompile (e.g. varyin

Re: PING: Re: [PATCH 05/05] Add command-line option-parsing to jit testcases

2014-12-08 Thread Mike Stump
On Dec 8, 2014, at 12:44 PM, David Malcolm wrote: > On Tue, 2014-11-25 at 20:34 -0500, David Malcolm wrote: >> Add command-line option-parsing to the testcases, so that we can >> manipulate them without needing a recompile (e.g. varying >> optimization levels etc). >> >> This uses getopt_long, wh

PING: Re: [PATCH 05/05] Add command-line option-parsing to jit testcases

2014-12-08 Thread David Malcolm
On Tue, 2014-11-25 at 20:34 -0500, David Malcolm wrote: > Add command-line option-parsing to the testcases, so that we can > manipulate them without needing a recompile (e.g. varying > optimization levels etc). > > This uses getopt_long, which is a GNU extension to libc. Is that > acceptable? Pi

[PATCH 05/05] Add command-line option-parsing to jit testcases

2014-11-25 Thread David Malcolm
Add command-line option-parsing to the testcases, so that we can manipulate them without needing a recompile (e.g. varying optimization levels etc). This uses getopt_long, which is a GNU extension to libc. Is that acceptable? Implement a --num-iterations option, to override the default of 5. Wh