[Testsuite, Patch] Fix testsuite/lib/gcc-dg.exp's scan-module-absence

Tobias Burnus burnus@net-b.de
Thu Mar 20 19:24:00 GMT 2014


gfortran's modules are since GCC 4.9 zipped. There are two functions, 
which test for the existence and absent of strings in the .mod files.

While one was updated to apply gunzip before reading, the other wasn't. 
This patch copies over the unzip call from the other function. I have 
tested it that it properly fails if and only if the string is present in 
the (uncompressed) .mod file.

OK for the trunk?

Tobias

PS: Thanks to Dominique for pointing out this problem!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testsuite.diff
Type: text/x-patch
Size: 616 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20140320/140ed838/attachment.bin>


More information about the Fortran mailing list