summaryrefslogtreecommitdiff
path: root/scripts/TestUtil.py
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2012-12-26 18:41:43 +0100
committerJose <jose@zeroc.com>2012-12-26 18:41:43 +0100
commitd6795ee8d739383e78741ef1ea911d9d9d3b4af7 (patch)
tree3f88ac893dfd9254bfdcbc92d63d7ecd0e2befb7 /scripts/TestUtil.py
parentFixed ICE-5079: Replaced IceInternal::Address by a union to avoid reinterpret... (diff)
downloadice-d6795ee8d739383e78741ef1ea911d9d9d3b4af7.tar.bz2
ice-d6795ee8d739383e78741ef1ea911d9d9d3b4af7.tar.xz
ice-d6795ee8d739383e78741ef1ea911d9d9d3b4af7.zip
Fixed (ICE-5035) - Added check to detect mingw compiler
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-xscripts/TestUtil.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py
index 192a41df5aa..4d62e1c50c9 100755
--- a/scripts/TestUtil.py
+++ b/scripts/TestUtil.py
@@ -87,6 +87,8 @@ def getCppCompiler():
compiler = ""
if os.environ.get("CPP_COMPILER", "") != "":
compiler = os.environ["CPP_COMPILER"]
+ elif isMINGW():
+ compiler = "MINGW"
else:
config = open(os.path.join(toplevel, "cpp", "config", "Make.rules.mak"), "r")
compiler = re.search("CPP_COMPILER[\t\s]*= ([A-Z0-9]*)", config.read()).group(1)