From 74d353152300399d53a36f0089a2cd679d4fad0b Mon Sep 17 00:00:00 2001 From: Bernd Edlinger Date: Fri, 6 Mar 2015 18:35:15 +0000 Subject: [PATCH] dg-extract-results.sh: Check that the necessary python modules exist. 2015-03-06 Bernd Edlinger * dg-extract-results.sh: Check that the necessary python modules exist. From-SVN: r221247 --- contrib/ChangeLog | 4 ++++ contrib/dg-extract-results.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * dg-extract-results.sh: Check that the necessary python modules exist. + 2015-02-05 Ilya Verbin * 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 -- 2.30.2