Update of /cvsroot/monetdb/MonetDB/src/testing
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12336/src/testing

Modified Files:
      Tag: GDK-2
        Makefile.ag Mtest.py.in difflib.c 
Log Message:
propagated changes of Monday Sep 03 2007 - Thursday Sep 06 2007
from the development trunk to the GDK-2 branch


Index: Mtest.py.in
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/testing/Mtest.py.in,v
retrieving revision 1.280.2.5
retrieving revision 1.280.2.6
diff -u -d -r1.280.2.5 -r1.280.2.6
--- Mtest.py.in 3 Sep 2007 12:53:44 -0000       1.280.2.5
+++ Mtest.py.in 6 Sep 2007 13:50:57 -0000       1.280.2.6
@@ -429,12 +429,12 @@
             if URLPREFIX:
                 header = Element('a',
                                  {'href': '%s%s/%s' % (URLPREFIX, url(TSTDIR), 
TSTSUFF),
-                                  'target': '%s%s_%s_body' % (URLSUFFIX_D, 
OSVER, TSTDIR),
+                                  'target': '%s%s_%s_body' % (URLSUFFIX_D, 
DISTVER, TSTDIR),
                                   'class': 'black'},
                                  header)
         else:
             header = Element('span', {'class': 'black'},
-                             Text(OSVER))
+                             Text(DISTVER))
         tr = Element('tr', {},
                      Element('th', {'class': 'header'},
                              header))
@@ -478,7 +478,7 @@
                                Element('frame',
                                        {'src': '%s.head.html' % INDEX,
                                         'scrolling': 'auto',
-                                        'name': '%s_%s_head' % (OSVER, TSTDIR),
+                                        'name': '%s_%s_head' % (DISTVER, 
TSTDIR),
                                         'frameborder': 'yes',
                                         'bordercolor': white,
                                         'marginwidth': '0',
@@ -486,7 +486,7 @@
                                Element('frame',
                                        {'src': 
url(env['_'+TSTDIR+'_BODY_'][0]),
                                         'scrolling': 'auto',
-                                        'name': '%s_%s_body' % (OSVER, TSTDIR),
+                                        'name': '%s_%s_body' % (DISTVER, 
TSTDIR),
                                         'frameborder': 'yes',
                                         'bordercolor': white,
                                         'marginwidth': '0',
@@ -542,7 +542,7 @@
         if SockTime == F_TIME:
             diffclass = 'timeout'
             difftext = difftext + ' (Timeout)'
-    SYSTEM = OSVER+":"
+    SYSTEM = DISTVER+":"
     if COMPILER:
         SYSTEM = COMPILER+", "+SYSTEM
 
@@ -601,7 +601,7 @@
                            Element('frame',
                                    {'src': '.%s%s.head.html' % (TST, WHAT),
                                     'scrolling': 'auto',
-                                    'name': '%s_%s_%s_%s_head' % (OSVER, 
TSTDIR, TST, WHAT[1:]),
+                                    'name': '%s_%s_%s_%s_head' % (DISTVER, 
TSTDIR, TST, WHAT[1:]),
                                     'frameborder': 'yes',
                                     'bordercolor': white,
                                     'marginwidth': '0',
@@ -609,7 +609,7 @@
                            Element('frame',
                                    {'src': '%s%s.diff.html' % (TST, xWHAT),
                                     'scrolling': 'auto',
-                                    'name': '%s_%s_%s_%s_body' % (OSVER, 
TSTDIR, TST, WHAT[1:]),
+                                    'name': '%s_%s_%s_%s_body' % (DISTVER, 
TSTDIR, TST, WHAT[1:]),
                                     'frameborder': 'yes',
                                     'bordercolor': white,
                                     'marginwidth': '0',
@@ -618,7 +618,7 @@
     html.write(f, True)
     f.close()
     f = open(".%s%s.head.html" % (TST, WHAT),"w")
-    target = '%s_%s_%s_%s_body' % (OSVER, TSTDIR, TST, WHAT[1:])
+    target = '%s_%s_%s_%s_body' % (DISTVER, TSTDIR, TST, WHAT[1:])
     cvs = Text('cvs')
     if URLPREFIX:
         cvs = Element('a', {'href': '%s%s/%s%s' % (URLPREFIX, url(TSTDIR), 
TSTSUFF, URLSUFFIX_D),
@@ -673,7 +673,7 @@
     html.write(f, True)
     f.close()
 #TODO?
-# <A HREF='.Mtest.Slave.Log.OutErr' 
TARGET='"""+OSVER+"_"+TSTDIR+"_"+TST+"_"+WHAT[1:]+"""_body'>LOG</A>).
+# <A HREF='.Mtest.Slave.Log.OutErr' 
TARGET='"""+DISTVER+"_"+TSTDIR+"_"+TST+"_"+WHAT[1:]+"""_body'>LOG</A>).
 ### CreateTstWhatXhtml (env, TST, stableWHAT, EXT) #
 
 def CreateSrcIndex (env, TST, EXT) :
@@ -711,7 +711,7 @@
                            Element('frame',
                                    {'src': '.%s.src.index.head.html' % TST,
                                     'scrolling': 'auto',
-                                    'name': '%s_%s_%s_head' % (OSVER, TSTDIR, 
TST),
+                                    'name': '%s_%s_%s_head' % (DISTVER, 
TSTDIR, TST),
                                     'frameborder': 'yes',
                                     'bordercolor': white,
                                     'marginwidth': '0',
@@ -719,7 +719,7 @@
                            Element('frame',
                                    {'src': framesrc,
                                     'scrolling': 'auto',
-                                    'name': '%s_%s_%s_body' % (OSVER, TSTDIR, 
TST),
+                                    'name': '%s_%s_%s_body' % (DISTVER, 
TSTDIR, TST),
                                     'frameborder': 'yes',
                                     'bordercolor': white,
                                     'marginwidth': '0',
@@ -737,7 +737,7 @@
             if URLPREFIX:
                 slink = Element('a',
                                 {'href': '%s%s/%s/%s%s' % (URLPREFIX, 
url(TSTDIR), TSTSUFF, s, URLSUFFIX_F),
-                                 'target': '%s_%s_%s_body' % (OSVER, TSTDIR, 
TST)},
+                                 'target': '%s_%s_%s_body' % (DISTVER, TSTDIR, 
TST)},
                                 slink)
             tr.addchild(Element('td', {'class': 'header'},
                                 slink))
@@ -832,16 +832,16 @@
 
     td = Element('td', {'class': 'header'},
                  Element('a', {'href': '.%s.src.index.html' % TST,
-                               'target': '%s_%s_body' % (OSVER, TSTDIR),
+                               'target': '%s_%s_body' % (DISTVER, TSTDIR),
                                'class': tstclass},
                          Text(TST)),
                  Element('br'))
     td.addchildren(AddHref('.%s%s.html' % (TST, '.out'),
-                           '%s_%s_body' % (OSVER, TSTDIR),
+                           '%s_%s_body' % (DISTVER, TSTDIR),
                            'out', o))
     td.addchild(Text("&nbsp;|&nbsp;", raw = True))
     td.addchildren(AddHref('.%s%s.html' % (TST, '.err'),
-                           '%s_%s_body' % (OSVER, TSTDIR),
+                           '%s_%s_body' % (DISTVER, TSTDIR),
                            'err', e))
     if not env.has_key('_'+TSTDIR+'_BODY_')  or  \
        not env['_'+TSTDIR+'_BODY_'][0]  or  \
@@ -861,7 +861,7 @@
     TSTPREF = env['TSTPREF']
 
     td = Element('td', {'class': 'header'})
-    td.addchildren(AddHref('%s/.index.html' % url(TSTDIR), '%s__body' % OSVER,
+    td.addchildren(AddHref('%s/.index.html' % url(TSTDIR), '%s__body' % 
DISTVER,
                            TSTDIR, diff))
     if not env.has_key('__BODY_')  or  \
        not env['__BODY_'][0]  or  \
@@ -880,7 +880,7 @@
     f = open("."+TST+".SKIPPED","w")
     f.write("\n%s  Warning:  %s\n\n" % (THISFILE, TEXT))
     f.close()
-    target = '%s_%s_body' % (OSVER, TSTDIR)
+    target = '%s_%s_body' % (DISTVER, TSTDIR)
     td = Element('td', {'class': 'header'},
                  Element('a', {'href': '.%s.src.index.html' % TST,
                                'target': target,
@@ -1061,7 +1061,7 @@
                 w = 0
             else: # WHAT == 'err'
                 w = 1
-            stableOUTPUT = 
TSTSRCDIRTST+StableOutErr(env,par,TSTSRCDIRTST,OS,RELEASE)[w]
+            stableOUTPUT = 
TSTSRCDIRTST+StableOutErr(env,par,TSTSRCDIRTST,OS,RELEASE,DIST,VERSION)[w]
             SYSTEM = stableOUTPUT.split(WHAT)[-1]
 
         if os.path.isfile(testOUTPUT):
@@ -1365,7 +1365,7 @@
     #LOG1x at -l >&2
 ### StopAt(ATJOB,ME) #
 
-def StableOutErr(env,par,TST,OS,RELEASE) :
+def StableOutErr(env,par,TST,OS,RELEASE,DIST,VERSION) :
     BITS = env['TST_BITS']
     OIDS = env['TST_OIDS']
     FIVE = env['TST_FIVE']
@@ -1375,7 +1375,7 @@
     if STATIC:
         STATIC = "(\.STATIC)?"
     dir,file = os.path.split(TST)
-    outre = 
re.compile('^'+re.escape(file)+'\.stable\.(?P<tp>out|err)(\.%s(%s)?)?(\.%s)?(\.%s)?%s%s$'
 % (re.escape(OS), re.escape(RELEASE), BITS, OIDS, FIVE, STATIC))
+    outre = 
re.compile('^'+re.escape(file)+'\.stable\.(?P<tp>out|err)(\.(%s(%s)?|%s(%s)?))?(\.%s)?(\.%s)?%s%s$'
 % (re.escape(OS), re.escape(RELEASE), re.escape(DIST), re.escape(VERSION), 
BITS, OIDS, FIVE, STATIC))
     bestout = besterr = ''
     for f in os.listdir(dir or os.curdir):
         res = outre.match(f)
@@ -1395,7 +1395,7 @@
     else:
         STABLEerr = '.stable.err'
     return STABLEout, STABLEerr
-### StableOutErr(env,par,TST,OS,RELEASE) #
+### StableOutErr(env,par,TST,OS,RELEASE,DIST,VERSION) #
 
 def RunTest(env, TST, BusyPorts, COND) :
     Failed = F_SKIP
@@ -1629,7 +1629,7 @@
 
         ACCURACYout = par['ACCURACY']
         ACCURACYerr = par['ACCURACY']
-        STABLEout,STABLEerr = StableOutErr(env,par,TST,OS,RELEASE)
+        STABLEout,STABLEerr = StableOutErr(env,par,TST,OS,RELEASE,DIST,VERSION)
         if not os.path.isfile(TST+STABLEout):
             open(TST+STABLEout,"w").close()
             ACCURACYout = 0
@@ -1860,8 +1860,19 @@
             diff_html.write('<!--MajorDiffs-->\n')
             diff_html.close()
             timedout = 1
-            if timeout == F_TIME: # test run timed out, expect major 
differences!
+            if timeout == F_TIME:
+                # test run timed out => expect major differences!
                 ACCURACYout = -1
+            else:
+                fs = open("%s%s.FILTERED" % (TST, STABLEout))
+                ft = open("%s.test.out.FILTERED" % TST)
+                szs = os.fstat(fs.fileno())[6]
+                szt = os.fstat(ft.fileno())[6]
+                fs.close()
+                ft.close()
+                if szt < szs*0.5 or szt > szs*1.5:
+                    # filesizes differ significantly => expect major 
differences!
+                    ACCURACYout = -1
             while timedout and MDIFF == MDIFF1:
                 if ACCURACYout == -1:
                     MDIFF = MDIFF0
@@ -1888,8 +1899,19 @@
             diff_html.write('<!--MajorDiffs-->\n')
             diff_html.close()
             timedout = 1
-            if timeout == F_TIME: # test run timed out, expect major 
differences!
+            if timeout == F_TIME:
+                # test run timed out => expect major differences!
                 ACCURACYerr = -1
+            else:
+                fs = open("%s%s.FILTERED" % (TST, STABLEerr))
+                ft = open("%s.test.err.FILTERED" % TST)
+                szs = os.fstat(fs.fileno())[6]
+                szt = os.fstat(ft.fileno())[6]
+                fs.close()
+                ft.close()
+                if szt < szs*0.5 or szt > szs*1.5:
+                    # filesizes differ significantly => expect major 
differences!
+                    ACCURACYerr = -1
             while timedout and MDIFF == MDIFF1:
                 if ACCURACYerr == -1:
                     MDIFF = MDIFF0
@@ -2478,6 +2500,8 @@
     v = {}
     v['OS'] = OS
     v['RELEASE'] = RELEASE
+    v['DIST'] = DIST
+    v['VERSION'] = VERSION
     v['BITS'] = ''
     v['OIDS'] = ''
     v['FIVE'] = ''
@@ -2547,10 +2571,73 @@
     HOST = "WINE"
     RELEASE = "5.2"
 
+if OS == "Linux":
+    #  Please keep this aligned / in sync with buildtools/conf/MonetDB.m4 & 
TestTools/.Mconfig.rc & TestTools/MdoServer !
+    if os.path.isfile('/etc/fedora-release'):
+        l = open('/etc/fedora-release').readline()
+        x = re.compile('^.*(Fedora).* release ([0-9][^ \n]*)( .*)*$').match(l)
+        if x:
+            LINUX_DIST = '%s:%s' % (x.group(1),x.group(2))
+    elif os.path.isfile('/etc/centos-release'):
+        l = open('/etc/centos-release').readline()
+        x = re.compile('^(CentOS) release ([0-9][^ \n]*)( .*)*$').match(l)
+        if x:
+            LINUX_DIST = '%s:%s' % (x.group(1),x.group(2))
+    elif os.path.isfile('/etc/yellowdog-release'):
+        l = open('/etc/yellowdog-release').readline()
+        x = re.compile('^(Yellow) Dog Linux release ([0-9][^ \n]*)( 
.*)*$').match(l)
+        if x:
+            LINUX_DIST = '%s:%s' % (x.group(1),x.group(2))
+    elif os.path.isfile('/etc/redhat-release'):
+        l = open('/etc/redhat-release').readline()
+       x0 = re.compile('^.*(Red) (Hat).* Linux *([A-Z]*) release ([0-9][^ 
\n]*)( .*)*$').match(l)
+       x1 = re.compile('^Red Hat Enterprise Linux ([AW]S) release ([0-9][^ 
\n]*)( .*)*$').match(l)
+       x2 = re.compile('^(CentOS) release ([0-9][^ \n]*)( .*)*$').match(l)
+       x3 = re.compile('^(Scientific) Linux SL release ([0-9][^ \n]*)( 
.*)*$').match(l)
+        if x0:
+            LINUX_DIST = '%s%s:%s%s' % 
(x0.group(1),x0.group(2),x0.group(4),x0.group(3))
+        elif x1:
+            LINUX_DIST = 'RHEL:%s%s' % (x1.group(2),x1.group(1))
+        elif x2:
+            LINUX_DIST = '%s:%s' % (x2.group(1),x2.group(2))
+        elif x3:
+            LINUX_DIST = '%s:%s' % (x3.group(1),x3.group(2))
+    elif os.path.isfile('/etc/SuSE-release'):
+        l = open('/etc/SuSE-release').readline()
+       x0 = re.compile('^.*(SUSE) LINUX Enterprise ([SD])[ervsktop]* ([0-9][^ 
\n]*)( .*)*$').match(l)
+       x1 = re.compile('^SUSE LINUX Enterprise ([SD])[ervsktop]* ([0-9][^ 
\n]*)( .*)*$').match(l)
+       x2 = re.compile('^.*(SuSE) Linux.* ([0-9][^ \n]*)( .*)*$').match(l)
+       x3 = re.compile('^open(SUSE) ([0-9][^ \n]*)( .*)*$').match(l)
+        if x0:
+            LINUX_DIST = '%s:%sE%s' % (x0.group(1),x0.group(3),x0.group(2))
+        elif x1:
+            LINUX_DIST = 'SLE%s:%s' % (x1.group(1),x1.group(2))
+        elif x2:
+            LINUX_DIST = '%s:%s' % (x2.group(1),x2.group(2))
+        elif x3:
+            LINUX_DIST = '%s:%s' % (x3.group(1),x3.group(2))
+    elif os.path.isfile('/etc/gentoo-release'):
+        l = open('/etc/gentoo-release').readline()
+        x = re.compile('^.*(Gentoo) Base System.* [versionrelease]* ([0-9][^ 
\n]*)( .*)*$').match(l)
+        if x:
+            LINUX_DIST = '%s:%s' % (x.group(1),x.group(2))
+    elif os.path.isfile('/etc/debian_version'):
+       LINUX_DIST = "Debian:"+open('/etc/debian_version').readline().strip()
+    else:
+        LINUX_DIST = 
OS+':'+re.compile('^([0-9\.]*)([^0-9\.].*)$').match(RELEASE).group(1)
+    DIST,VERSION = LINUX_DIST.split(':', 1)
+else:
+    DIST = OS
+    VERSION = RELEASE
+
 OSVER = OS+RELEASE
+DISTVER = DIST+VERSION
 os.environ['OS'] = OS
 os.environ['OSVER'] = OSVER
 os.environ['RELEASE'] = RELEASE
+os.environ['DIST'] = DIST
+os.environ['DISTVER'] = DISTVER
+os.environ['VERSION'] = VERSION
 
 if os.environ.has_key('COMPILER'):
     COMPILER = os.environ['COMPILER']
@@ -2563,7 +2650,7 @@
     HTMLTITLE = ""
     if COMPILER:
         HTMLTITLE = " for "+COMPILER
-    HTMLTITLE = ""+THISFILE+" results"+HTMLTITLE+" on "+OSVER       #"+ 
("`date`")"
+    HTMLTITLE = ""+THISFILE+" results"+HTMLTITLE+" on "+DISTVER       #"+ 
("`date`")"
 
 URLPREFIXMAP = {
     'MonetDB': 'http://monetdb.cvs.sourceforge.net/monetdb/MonetDB/',
@@ -2589,6 +2676,7 @@
     'xml':        'monetdb-xml',
     'amdb':       'monetdb-amdb',
     'geom':       'monetdb-geom',
+    'datacell':   'monetdb-datacell',
     }
 
 par = {}
@@ -2702,11 +2790,11 @@
     cmd_options = [
         # long name, short name, GDK option, argument, comment
         ('package', 'p', 'package', '<package>',
-         "package to be tested, e.g.:\nmonetdb(|4|5), 
[monetdb-](clients|template|sql|xquery|xml|amdb|geom);\ndefault: %s" % 
par['PACKAGE']),
+         "package to be tested, e.g.:\nmonetdb(|4|5), 
[monetdb-](clients|template|sql|xquery|xml|amdb|geom|datacell);\ndefault: %s" % 
par['PACKAGE']),
         ('MonetDB4', '4', 'MonetDB4', None,
-         "use Mserver of MonetDB Version 4 (default with <package> != 
monetdb5)"),
+         "use Mserver of MonetDB Version 4 (default with <package> not in 
{monetdb5, monetdb-datacell})"),
         ('MonetDB5', '5', 'MonetDB5', None,
-         "use mserver5 of MonetDB Version 5 (default with <package> == 
monetdb5)"),
+         "use mserver5 of MonetDB Version 5 (default with <package> in 
{monetdb5, monetdb-datacell})"),
         ('recursive', 'r', 'recursive', None,
          "recurse into subdirectories (implies 'All')"),
         ('MONETDB_SOURCE', None, 'MONETDB_SOURCE', '<path>',
@@ -2790,9 +2878,9 @@
              "(default: <ext> = 'out' & 'err')"),
             (None, 'S', 'sys', '<sys>',
              "approve specific output *.<ext><sys>\n"
-             "(<sys> = 
'[.<OS>[<RELEASE>]][.(32|64)bit][.oid(32|64)][.Five][.STATIC]',\n"
-             "(default: longest match for <sys> = '[.%s[%s]]%s%s%s%s')"
-              % (v['OS'], v['RELEASE'], v['BITS'], v['OIDS'], v['FIVE'], 
v['STATIC'])),
+             "(<sys> = 
'[.(<OS>[<RELEASE>]|<DIST>[<VERSION>])][.(32|64)bit][.oid(32|64)][.Five][.STATIC]',\n"
+             "(default: longest match for <sys> = 
'[.(%s[%s]|%s[%s])]%s%s%s%s')"
+              % (v['OS'], v['RELEASE'], v['DIST'], v['VERSION'], v['BITS'], 
v['OIDS'], v['FIVE'], v['STATIC'])),
             (None, 'f', 'force', None,
              "force approval of error messages (i.e., lines starting with 
'!')"),
             ]
@@ -2843,8 +2931,8 @@
     if par['M5'] and par['PACKAGE'] == 'monetdb4':
         ErrXit('"-5/--MonetDB5" conflicts with "--package=monetdb4"!')
     if not par['M4'] and not par['M5']:
-        par['M4'] = par['PACKAGE'] != 'monetdb5'
-        par['M5'] = par['PACKAGE'] == 'monetdb5'
+        par['M4'] = par['PACKAGE'] not in ['monetdb5', 'monetdb-datacell']
+        par['M5'] = par['PACKAGE']     in ['monetdb5', 'monetdb-datacell']
 
     config = opts.get('config')
     if config is None and par['PACKAGE'] not in ('monetdb', 'monetdb-clients'):
@@ -3036,11 +3124,17 @@
         OS = v['OS']
         RELEASE = v['RELEASE']
         OSVER = OS+RELEASE
+        DIST = v['DIST']
+        VERSION = v['VERSION']
+        DISTVER = DIST+VERSION
         os.environ['OS'] = OS
         os.environ['OSVER'] = OSVER
         os.environ['RELEASE'] = RELEASE
+        os.environ['DIST'] = DIST
+        os.environ['DISTVER'] = DISTVER
+        os.environ['VERSION'] = VERSION
         w = {}
-        for i in 'OS', 'RELEASE', 'BITS', 'OIDS', 'FIVE', 'STATIC':
+        for i in 'OS', 'RELEASE', 'DIST', 'VERSION', 'BITS', 'OIDS', 'FIVE', 
'STATIC':
             w[i] = re.escape(v[i])
         for i in 'BITS', 'OIDS', 'FIVE', 'STATIC':
             j = 'TST_'+i
@@ -3049,8 +3143,8 @@
             if v[i]:
                 v[i] = '(.%s)?' % v[i]
                 w[i] = '(\.%s)?' % w[i]
-        sv = '^(.%s(%s)?)?%s%s%s%s$' % (v['OS'], v['RELEASE'], v['BITS'], 
v['OIDS'], v['FIVE'], v['STATIC'])
-        sw = '^(\.%s(%s)?)?%s%s%s%s$' % (w['OS'], w['RELEASE'], w['BITS'], 
w['OIDS'], w['FIVE'], w['STATIC'])
+        sv = '^(.(%s(%s)?|%s(%s)?))?%s%s%s%s$' % (v['OS'], v['RELEASE'], 
v['DIST'], v['VERSION'], v['BITS'], v['OIDS'], v['FIVE'], v['STATIC'])
+        sw = '^(\.(%s(%s)?|%s(%s)?))?%s%s%s%s$' % (w['OS'], w['RELEASE'], 
w['DIST'], w['VERSION'], w['BITS'], w['OIDS'], w['FIVE'], w['STATIC'])
         r = re.compile(sw)
         if not r.match(par['SYSTEM']):
             ErrXit("System (-S) must match '"+sv+"' !")
@@ -3370,9 +3464,11 @@
         # create '.Mapprove.rc'
         env['OS'] = os.environ['OS']
         env['RELEASE'] = os.environ['RELEASE']
+        env['DIST'] = os.environ['DIST']
+        env['VERSION'] = os.environ['VERSION']
         n = os.path.join(env['TSTTRGBASE'],TSTPREF,'.Mapprove.rc')
         f = open(n, 'w')
-        for v in 'OS', 'RELEASE', 'TST_BITS', 'TST_OIDS', 'TST_FIVE', 
'TST_STATIC':
+        for v in 'OS', 'RELEASE', 'DIST', 'VERSION', 'TST_BITS', 'TST_OIDS', 
'TST_FIVE', 'TST_STATIC':
             w = v.replace('TST_','')
             f.write('%s = "%s"\n' % (w, env[v]))
         f.close()

Index: Makefile.ag
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/testing/Makefile.ag,v
retrieving revision 1.18.4.1
retrieving revision 1.18.4.2
diff -u -d -r1.18.4.1 -r1.18.4.2
--- Makefile.ag 3 Sep 2007 12:53:44 -0000       1.18.4.1
+++ Makefile.ag 6 Sep 2007 13:50:57 -0000       1.18.4.2
@@ -30,9 +30,9 @@
 }
 
 bin_Mapprove.py = bin_Mtest.py
-bin_Mapprove.py.bat = bin_Mtest.py.bat
+bin_Mapprove.py.bat = NATIVE_WIN32?bin_Mtest.py.bat
 bin_Mprofile.py = bin_Mtest.py
-bin_Mprofile.py.bat = bin_Mtest.py.bat
+bin_Mprofile.py.bat = NATIVE_WIN32?bin_Mtest.py.bat
 
 scripts_bat = {
        COND = NATIVE_WIN32

Index: difflib.c
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/testing/difflib.c,v
retrieving revision 1.45
retrieving revision 1.45.4.1
diff -u -d -r1.45 -r1.45.4.1
--- difflib.c   9 Feb 2007 22:59:36 -0000       1.45
+++ difflib.c   6 Sep 2007 13:50:58 -0000       1.45.4.1
@@ -922,7 +922,7 @@
 
        if (!u_diff2lwc_diff(mindiff, LWC, u_diff_fn, lwc_diff_fn))
                /* { UNLINK(lwc_diff_fn); ERRHNDL(0,"u_diff2lwc_diff returns 0 
in u_diff2html","",1); } */
-               system(strconcat("touch ", lwc_diff_fn));
+               SYSTEM(strconcat("touch ", lwc_diff_fn));
 
        rtrn = lwc_diff2html(u_diff_fn, (char *) 0, lwc_diff_fn, html_fn, 
caption, revision);
 
@@ -945,7 +945,7 @@
 
        if (!oldnew2lwc_diff(mindiff, LWC, context, ignore, old_fn, new_fn, 
lwc_diff_fn))
                /* { UNLINK(lwc_diff_fn); ERRHNDL(0,"oldnew2lwc_diff returns 0 
in oldnew2html","",1); } */
-                system(strconcat("touch ", lwc_diff_fn));
+                SYSTEM(strconcat("touch ", lwc_diff_fn));
 
        rtrn = lwc_diff2html(old_fn, new_fn, lwc_diff_fn, html_fn, caption, 
revision);
 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to