This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Check all python modules in contrib/dg-extract-results.sh


On 03/06/15 03:19, Bernd Edlinger wrote:
Hi,

I have a box, where only python-minimal-2.7 seems to be installed and I have
tried to use make -k -j2; but this results in

./dg-extract-results.sh
Traceback (most recent call last):
   File "./dg-extract-results.py", line 13, in <module>
     import io
ImportError: No module named io

This causes contrib/test_summary to be unable to show the results.

I would like to fix this with the attached patch:

The idea is to import all python modules that the dg-extract-results.py will
use in the python version check, and fall back to the default implementation
when any modules are missing.

Is that OK for trunk?
Yes, this is OK.

Jeff	



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]