summaryrefslogtreecommitdiff
path: root/cppe/config/TestUtil.py
diff options
context:
space:
mode:
Diffstat (limited to 'cppe/config/TestUtil.py')
-rw-r--r--cppe/config/TestUtil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppe/config/TestUtil.py b/cppe/config/TestUtil.py
index 8a1b7a6ffde..3ee1dac45e1 100644
--- a/cppe/config/TestUtil.py
+++ b/cppe/config/TestUtil.py
@@ -26,12 +26,12 @@ import sys, os, re
def getIceVersion():
config = open(os.path.join(toplevel, "include", "IceE", "Config.h"), "r")
- return re.search("ICEE_STRING_VERSION \"([0-9\.]*)\"", config.read()).group(1)
+ return re.search("ICE_STRING_VERSION \"([0-9\.]*)\"", config.read()).group(1)
def getIceSoVersion():
config = open(os.path.join(toplevel, "include", "IceE", "Config.h"), "r")
- intVersion = int(re.search("ICEE_INT_VERSION ([0-9]*)", config.read()).group(1))
+ intVersion = int(re.search("ICE_INT_VERSION ([0-9]*)", config.read()).group(1))
majorVersion = intVersion / 10000
minorVersion = intVersion / 100 - 100 * majorVersion
return '%d' % (majorVersion * 10 + minorVersion)