Changeset: d4555aa2f504 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d4555aa2f504
Modified Files:
        testing/Mtest.py.in
Branch: Aug2011
Log Message:

Mtest: convert %prefix% and %exec_prefix% to actual value.


diffs (20 lines):

diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -102,10 +102,16 @@ def _configure(str):
         ('${prefix}', '@QXprefix@'),
         ('${Qprefix}', '@QXprefix@'),
         ]
+    if os.name == 'nt':
+        str = str.replace('%prefix%', '${prefix}')
+        str = str.replace('%exec_prefix%', '${exec_prefix}')
     changed = True
     while '$' in str and changed:
         changed = False
         for key, val in config:
+            if os.name == 'nt':
+                val = val.replace('%prefix%', '${prefix}')
+                val = val.replace('%exec_prefix%', '${exec_prefix}')
             nstr = str.replace(key, val)
             changed = changed or str != nstr
             str = nstr
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to