[PATCH] gfortran testsuite: implicitly cleanup-modules
Bernhard Reutner-Fischer
rep.dot.nop@gmail.com
Fri Mar 16 15:00:00 GMT 2012
On Fri, Mar 16, 2012 at 11:04:45AM +0100, Bernhard Reutner-Fischer wrote:
>The underlying problem is that dejagnu's runtest.exp only allows for a
>single "libdir" where it searches for includes -- see comment in
>libgomp.exp and libitm.exp
>
>While just adding more and more load_gcc_lib calls to users outside of
>gcc/ is the easy way out, it is (IMHO) error prone (i ran make check
>just in gcc and not in toplevel, fixed my script now).
>
>It would be desirable if dejagnu would just find all the currently
>load_gcc_lib'ed files on its own, via load_lib.
>One could
>- teach dejagnu to treat libdir as a list of paths
The attached works for me for a toplevel make -k check (double-checked
with individual make check in lib{gomp,itm}). I do not intend to pursue
this any further.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dejagnu-runtest-add-libdirs.00.patch
Type: text/x-diff
Size: 1910 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20120316/3cc745d8/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-use-dejagnu-libdirs.00.patch
Type: text/x-diff
Size: 3089 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20120316/3cc745d8/attachment-0001.bin>
More information about the Fortran
mailing list