diff options
author | edlinger <edlinger@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-03-06 18:35:15 +0000 |
---|---|---|
committer | edlinger <edlinger@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-03-06 18:35:15 +0000 |
commit | 44fa111fe93e6f5ef560d7e57dc3547d376ffe9b (patch) | |
tree | f6562a58af1139c9850fec1a748c709246afed28 /contrib | |
parent | 4a7046f8b81794321abe9c9117519ee9a0ae7d14 (diff) | |
download | gcc-44fa111fe93e6f5ef560d7e57dc3547d376ffe9b.tar.gz |
2015-03-06 Bernd Edlinger <bernd.edlinger@hotmail.de>
* dg-extract-results.sh: Check that the necessary python modules exist.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221247 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ChangeLog | 4 | ||||
-rwxr-xr-x | contrib/dg-extract-results.sh | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 1d75f448b13..f539588e0ca 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2015-03-06 Bernd Edlinger <bernd.edlinger@hotmail.de> + + * dg-extract-results.sh: Check that the necessary python modules exist. + 2015-02-05 Ilya Verbin <ilya.verbin@intel.com> * gcc_update (files_and_dependencies): Add rules for liboffloadmic and diff --git a/contrib/dg-extract-results.sh b/contrib/dg-extract-results.sh index 0ddf25b60a6..5a8e67ea2fa 100755 --- a/contrib/dg-extract-results.sh +++ b/contrib/dg-extract-results.sh @@ -32,7 +32,7 @@ PROGNAME=dg-extract-results.sh PYTHON_VER=`echo "$0" | sed 's/sh$/py/'` if test "$PYTHON_VER" != "$0" && test -f "$PYTHON_VER" && - python -c 'import sys; sys.exit (0 if sys.version_info >= (2, 6) else 1)' \ + python -c 'import sys, getopt, re, io, datetime, operator; sys.exit (0 if sys.version_info >= (2, 6) else 1)' \ > /dev/null 2> /dev/null; then exec python $PYTHON_VER "$@" fi |