On Thu, Sep 24, 2020 at 12:52:16PM +0200, Paolo Bonzini wrote: > On 24/09/20 12:48, Roman Bolshakov wrote: > > Unfortunately it has no effect (and I wouldn't want to do that to avoid > > issues with other scripts/software that implicitly depend on native > > utilities): > > > > $ brew link --force gnu-getopt > > Warning: Refusing to link macOS provided/shadowed software: gnu-getopt > > If you need to have gnu-getopt first in your PATH run: > > echo 'export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"' >> ~/.zshrc > > > > So if it's possible I'd still prefer to add an option to specify > > --getopt in configure. I can resend a patch for that. > > No, I'm not going to accept that. It's just Apple's stupidity. I have > applied your patch, rewriting the harness in another language would > probably be a good idea though. > I also feel like we've outgrown Bash, especially when we implement things like migration tests. We have had requests to keep it Bash though in order to continue running in resource constrained environments. I think we can have both. We could rewrite the harness is a different language and then compile/generate standalone tests (as we already do to some extent). The standalone tests need to be compiled/generated in such a way that they can run in resource constrained environments. Finally, with standalone tests the only test runner you need is for t in `ls tests`; do tests/$t done which can be written in the minimal scripting language of your choice. Thanks, drew