On Dec 8, 2014, at 5:29 PM, David Malcolm <dmalc...@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.