On Wed, Jan 28, 2015 at 10:10:18PM +0100, Rainer Orth wrote: > passing argv[0] seems the easiest course of action. As I said, > gfortran.dg/guality/guality.exp already does it, and there were no > issues even on Solaris.
gfortran.dg/guality/guality.exp doesn't do that. The thing is, there are 2 kinds of guality tests, the C/C++ ones using guality.h, and then ones using gcc-gdb-test.exp, where the spawning of gdb is done in tcl. Those share just directories, nothing else, and gfortran.dg/guality for obvious reasons doesn't contain any such tests. Jakub