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

Mike Stump mikestump@comcast.net
Wed Jan 1 00:00:00 GMT 2014


On Dec 8, 2014, at 5:29 PM, David Malcolm <dmalcolm@redhat.com> 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 experiment with them under gdb without having to
> recompile them)
> 
> Hence I think we can simply fall back to ignoring argv on hosts that
> don't support getopt_long; it should merely make the testsuite less
> flexible.  Not sure how best to encode such a test though - check for it
> in jit.exp, or in configure, I suppose.

I’d just check in jit.exp.  See target-supports.exp for ideas.


More information about the Jit mailing list