Changeset: 6df548564201 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=6df548564201
Modified Files:
        testing/Mtest.py.in
Branch: mtest
Log Message:

On Windows we use Cygwin diff, so use /dev/null instead of os.devnull (nul on 
Windows).


diffs (27 lines):

diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -2287,9 +2287,10 @@ def RunTest(env, TST, BusyPorts, COND, o
                 cmd.append('-d')
             if not verbose:
                 cmd.append('-q')
+            # on Windows we use Cygwin diff, os use /dev/null, not os.devnull
             cmd.extend(['-F^#', '-I%s' % par['IGNORE'],
                         titlefmt % ('err', 'err'),
-                        os.devnull,
+                        '/dev/null',
                         '%s.test.out' % TST,
                         '%s.out.diff.html' % TST])
             if procdebug:
@@ -2339,9 +2340,10 @@ def RunTest(env, TST, BusyPorts, COND, o
                 cmd.append('-d')
             if not verbose:
                 cmd.append('-q')
+            # on Windows we use Cygwin diff, os use /dev/null, not os.devnull
             cmd.extend(['-F^#', '-I%s' % par['IGNORE'],
                         titlefmt % ('out', 'out'),
-                        os.devnull,
+                        '/dev/null',
                         '%s.test.err' % TST,
                         '%s.err.diff.html' % TST])
             if procdebug:
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to