From 7310ad264e17f639fb58dd947ef1c31295e4501c Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Thu, 8 Nov 2012 10:25:32 +0100 Subject: Fixed MinGW port - The build no longer requires Cygwin - Running the tests no longer requires setting CPP_COMPILER, TestUtil.py che for RI_DEVKIT in the environment to figure out if running with MinGW devki - DynamicLibrary no longer appends the "d" suffix when compiling with debug - COMPSUFFIX is now defined when compiling Ice - Much simplified the build system by removing all the checks for MinGW in makefiles, MinGW settings are now located to Make.rules.MINGW only. - Fixed allTests.py to skip plugin and metrics tests. - Fixed build instructions. --- scripts/TestUtil.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts/TestUtil.py') diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py index aa83cc84d36..2592c3ae55d 100755 --- a/scripts/TestUtil.py +++ b/scripts/TestUtil.py @@ -96,7 +96,9 @@ def getCppCompiler(): def isMINGW(): if not isWin32(): return False - return getCppCompiler() == "MINGW" + # Ruby Installer DEVKIT sets the RI_DEVKIT environment variable, + # we check for this variable to detect the Ruby MINGW environment. + return os.environ.has_key("RI_DEVKIT") def isVC90(): if not isWin32(): -- cgit v1.2.3