Changeset: 585895437c76 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=585895437c76
Removed Files:
        debian/monetdb-testing.install
        testing/Mdiff.c
        testing/Mfilter.py
        testing/Mlog.bat
        testing/Mlog.in
        testing/difflib.c
        testing/difflib.h
        testing/helpers.c
        testing/helpers.h
Modified Files:
        MonetDB.spec
        clients/Tests/mclient-uri.SQL.sh
        debian/control
        sql/backends/monet5/Tests/Mbeddedsql5--help
        sql/backends/monet5/Tests/shutdown.py
        sql/jdbc/tests/Tests/Test.SQL.sh
        sql/jdbc/tests/Tests/Test_JdbcClient.SQL.sh
        sql/jdbc/tests/Tests/ValidateSystemCatalogTables.SQL.sh
        sql/jdbc/tests/Tests/bogus-auto-generated-keys.SQL.sh
        sql/test/BugDay_2005-10-06_2.8/Tests/MapiClient-dump.SF-905851.SQL.py
        sql/test/BugTracker-2009/Tests/dumping_tables.SF-2776908.SQL.py
        sql/test/BugTracker-2013/Tests/php-size-limit-bug.SQL.sh
        sql/test/BugTracker/Tests/local_temp_table.SF-1865953.SQL.py
        sql/test/VOC/Tests/VOC.SQL.py
        sql/test/bugs/Tests/unicode_varchar-bug-sf-1041324_JdbcClient.SQL.sh
        sql/test/mapi/Tests/php_dec38.SQL.sh
        sql/test/mapi/Tests/php_int128.SQL.sh
        sql/test/mapi/Tests/php_int64_dec18.SQL.sh
        sql/test/mapi/Tests/php_monetdb.SQL.sh
        sql/test/mapi/Tests/python3_dbapi.SQL.sh
        sql/test/mapi/Tests/python3_dec38.SQL.sh
        sql/test/mapi/Tests/python3_int128.SQL.sh
        sql/test/mapi/Tests/sample0.SQL.sh
        sql/test/mapi/Tests/sample1.SQL.sh
        sql/test/mapi/Tests/sample4.SQL.sh
        sql/test/mapi/Tests/smack00.SQL.sh
        sql/test/mapi/Tests/smack01.SQL.sh
        sql/test/pg_regress/Tests/load.SQL.sh
        sql/test/sys-schema/Tests/ValidateSystemCatalogTables.SQL.sh
        testing/CMakeLists.txt
        testing/Mconvert.py.in
        testing/Mtest.py.in
        testing/Mz.py.in
        testing/README
        testing/process.py
Branch: default
Log Message:

Cleanup Mtest: no Mdiff, no Mfilter; also no Mlog.
Diffing with /dev/null is pretty useless: just show the output from the test.
This also means the MonetDB-testing/monetdb-testing packages (RPM
resp. deb) are gone (they contained Mdiff and Mlog).


diffs (truncated from 2829 to 300 lines):

diff --git a/MonetDB.spec b/MonetDB.spec
--- a/MonetDB.spec
+++ b/MonetDB.spec
@@ -672,30 +672,9 @@ program that uses MonetDB as an embeddab
 %{_includedir}/monetdb/monetdbe.h
 %{_libdir}/pkgconfig/monetdbe.pc
 
-%package testing
-Summary: MonetDB - Monet Database Management System
-Group: Applications/Databases
-
-%description testing
-MonetDB is a database management system that is developed from a
-main-memory perspective with use of a fully decomposed storage model,
-automatic index management, extensibility of data types and search
-accelerators.  It also has an SQL front end.
-
-This package contains the programs and files needed for testing the
-MonetDB packages.  You probably don't need this, unless you are a
-developer.  If you do want to test, install %{name}-testing-python.
-
-%files testing
-%license COPYING
-%defattr(-,root,root)
-%{_bindir}/Mdiff
-%{_bindir}/Mlog
-
 %package testing-python
 Summary: MonetDB - Monet Database Management System
 Group: Applications/Databases
-Requires: %{name}-testing = %{version}-%{release}
 Requires: %{name}-client-tests = %{version}-%{release}
 Requires: /usr/bin/python3
 BuildArch: noarch
diff --git a/clients/Tests/mclient-uri.SQL.sh b/clients/Tests/mclient-uri.SQL.sh
--- a/clients/Tests/mclient-uri.SQL.sh
+++ b/clients/Tests/mclient-uri.SQL.sh
@@ -2,13 +2,11 @@
 
 # test the URI parsing capabilities of the MAPI library
 
-#Mlog "mclient -d 
mapi:monetdb://$HOST:$MAPIPORT/$TSTDB?language=sql&user=monetdb -f test -t none 
-E utf-8 -s select 1"
 mclient -d "mapi:monetdb://$HOST:$MAPIPORT/$TSTDB?language=sql&user=monetdb" 
-f csv -t none -E utf-8 -s 'select 1' | grep -v '^1$'
 if [ $? -eq 2 ]; then
        return 2;
 fi
 
-#Mlog "mclient -d 
mapi:monetdb://$MAPIHOST/.s.monetdb.$MAPIPORT?database=$TSTDB&language=sql&user=monetdb
 -f test -t none -E utf-8 -s select 1"
 mclient -d 
"mapi:monetdb://$MAPIHOST/.s.monetdb.$MAPIPORT?database=$TSTDB&language=sql&user=monetdb"
 -f csv -t none -E utf-8 -s 'select 1' | grep -v '^1$'
 if [ $? -eq 2 ]; then
        return 2;
diff --git a/debian/control b/debian/control
--- a/debian/control
+++ b/debian/control
@@ -274,23 +274,9 @@ Description: MonetDB development files
  This package contains the library and include files to create a
  program that uses MonetDB as an embeddable library.
 
-Package: monetdb-testing
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: MonetDB testing programs
- MonetDB is a database management system that is developed from a
- main-memory perspective with use of a fully decomposed storage model,
- automatic index management, extensibility of data types and search
- accelerators.  It also has an SQL front end.
- .
- This package contains the programs and files needed for testing the
- MonetDB packages.  You probably don't need this, unless you are a
- developer.  If you do want to test, install monetdb-testing-python.
-
 Package: monetdb-testing-python
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, python3,
- monetdb-testing (= ${source:Version}),
  monetdb-client-testing (= ${source:Version})
 Description: MonetDB testing Python programs
  MonetDB is a database management system that is developed from a
diff --git a/debian/monetdb-testing.install b/debian/monetdb-testing.install
deleted file mode 100644
--- a/debian/monetdb-testing.install
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/tmp/usr/bin/Mdiff usr/bin
-debian/tmp/usr/bin/Mlog usr/bin
diff --git a/sql/backends/monet5/Tests/Mbeddedsql5--help 
b/sql/backends/monet5/Tests/Mbeddedsql5--help
--- a/sql/backends/monet5/Tests/Mbeddedsql5--help
+++ b/sql/backends/monet5/Tests/Mbeddedsql5--help
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-Mlog -x Mbeddedsql5 --help
+Mbeddedsql5 --help
diff --git a/sql/backends/monet5/Tests/shutdown.py 
b/sql/backends/monet5/Tests/shutdown.py
--- a/sql/backends/monet5/Tests/shutdown.py
+++ b/sql/backends/monet5/Tests/shutdown.py
@@ -11,6 +11,6 @@ try:
     if os.name == 'nt':
         os.system('shutdowntest.exe "%s"' % databasedir)
     else:
-        os.system('Mlog -x shutdowntest "%s"' % databasedir)
+        os.system('shutdowntest "%s"' % databasedir)
 finally:
     shutil.rmtree(databasedir)
diff --git a/sql/jdbc/tests/Tests/Test.SQL.sh b/sql/jdbc/tests/Tests/Test.SQL.sh
--- a/sql/jdbc/tests/Tests/Test.SQL.sh
+++ b/sql/jdbc/tests/Tests/Test.SQL.sh
@@ -3,4 +3,4 @@
 
URL="jdbc:monetdb://${HOST}:${MAPIPORT}/${TSTDB}?user=monetdb&password=monetdb${JDBC_EXTRA_ARGS}"
 TST=$1
 
-Mlog -x "java ${TST} \"${URL}\""
+java ${TST} "${URL}"
diff --git a/sql/jdbc/tests/Tests/Test_JdbcClient.SQL.sh 
b/sql/jdbc/tests/Tests/Test_JdbcClient.SQL.sh
--- a/sql/jdbc/tests/Tests/Test_JdbcClient.SQL.sh
+++ b/sql/jdbc/tests/Tests/Test_JdbcClient.SQL.sh
@@ -5,11 +5,11 @@ user=monetdb
 password=monetdb
 EOF
 
-Mlog -x "java nl.cwi.monetdb.client.JdbcClient -h $HOST -p $MAPIPORT -d $TSTDB 
--help"
+java nl.cwi.monetdb.client.JdbcClient -h $HOST -p $MAPIPORT -d $TSTDB --help
 
-Mlog -x "java nl.cwi.monetdb.client.JdbcClient -h $HOST -p $MAPIPORT -d $TSTDB 
-f $TSTSRCBASE/$TSTDIR/Tests/JdbcClient_create_tables.sql"
-Mlog -x "java nl.cwi.monetdb.client.JdbcClient -h $HOST -p $MAPIPORT -d $TSTDB 
-f $TSTSRCBASE/$TSTDIR/Tests/JdbcClient_inserts_selects.sql"
-Mlog -x "java nl.cwi.monetdb.client.JdbcClient -h $HOST -p $MAPIPORT -d $TSTDB 
-D"
-Mlog -x "java nl.cwi.monetdb.client.JdbcClient -h $HOST -p $MAPIPORT -d $TSTDB 
-f $TSTSRCBASE/$TSTDIR/Tests/JdbcClient_drop_tables.sql"
+java nl.cwi.monetdb.client.JdbcClient -h $HOST -p $MAPIPORT -d $TSTDB -f 
$TSTSRCBASE/$TSTDIR/Tests/JdbcClient_create_tables.sql
+java nl.cwi.monetdb.client.JdbcClient -h $HOST -p $MAPIPORT -d $TSTDB -f 
$TSTSRCBASE/$TSTDIR/Tests/JdbcClient_inserts_selects.sql
+java nl.cwi.monetdb.client.JdbcClient -h $HOST -p $MAPIPORT -d $TSTDB -D
+java nl.cwi.monetdb.client.JdbcClient -h $HOST -p $MAPIPORT -d $TSTDB -f 
$TSTSRCBASE/$TSTDIR/Tests/JdbcClient_drop_tables.sql
 
 rm -f .monetdb
diff --git a/sql/jdbc/tests/Tests/ValidateSystemCatalogTables.SQL.sh 
b/sql/jdbc/tests/Tests/ValidateSystemCatalogTables.SQL.sh
--- a/sql/jdbc/tests/Tests/ValidateSystemCatalogTables.SQL.sh
+++ b/sql/jdbc/tests/Tests/ValidateSystemCatalogTables.SQL.sh
@@ -5,6 +5,6 @@ user=monetdb
 password=monetdb
 EOF
 
-Mlog -x "java nl.cwi.monetdb.client.JdbcClient -h $HOST -p $MAPIPORT -d 
${TSTDB} -e -f $TSTSRCBASE/$TSTDIR/Tests/ValidateSystemCatalogTables.sql"
+java nl.cwi.monetdb.client.JdbcClient -h $HOST -p $MAPIPORT -d ${TSTDB} -e -f 
$TSTSRCBASE/$TSTDIR/Tests/ValidateSystemCatalogTables.sql
 
 rm -f .monetdb
diff --git a/sql/jdbc/tests/Tests/bogus-auto-generated-keys.SQL.sh 
b/sql/jdbc/tests/Tests/bogus-auto-generated-keys.SQL.sh
--- a/sql/jdbc/tests/Tests/bogus-auto-generated-keys.SQL.sh
+++ b/sql/jdbc/tests/Tests/bogus-auto-generated-keys.SQL.sh
@@ -5,6 +5,6 @@ user=monetdb
 password=monetdb
 EOF
 
-Mlog -x "java nl.cwi.monetdb.client.JdbcClient -h $HOST -p $MAPIPORT -d 
${TSTDB} -e -f \"$TSTSRCBASE/$TSTDIR/Tests/bogus-auto-generated-keys.sql\""
+java nl.cwi.monetdb.client.JdbcClient -h $HOST -p $MAPIPORT -d ${TSTDB} -e -f 
\"$TSTSRCBASE/$TSTDIR/Tests/bogus-auto-generated-keys.sql\"
 
 rm -f .monetdb
diff --git 
a/sql/test/BugDay_2005-10-06_2.8/Tests/MapiClient-dump.SF-905851.SQL.py 
b/sql/test/BugDay_2005-10-06_2.8/Tests/MapiClient-dump.SF-905851.SQL.py
--- a/sql/test/BugDay_2005-10-06_2.8/Tests/MapiClient-dump.SF-905851.SQL.py
+++ b/sql/test/BugDay_2005-10-06_2.8/Tests/MapiClient-dump.SF-905851.SQL.py
@@ -10,8 +10,7 @@ def client(cmd, infile = None):
     else:
         f = None
     with process.client(cmd, stdin = f,
-                        stdout = process.PIPE, stderr = process.PIPE,
-                        log = True) as clt:
+                        stdout = process.PIPE, stderr = process.PIPE) as clt:
         if f is not None:
             f.close()
         out, err = clt.communicate()
diff --git a/sql/test/BugTracker-2009/Tests/dumping_tables.SF-2776908.SQL.py 
b/sql/test/BugTracker-2009/Tests/dumping_tables.SF-2776908.SQL.py
--- a/sql/test/BugTracker-2009/Tests/dumping_tables.SF-2776908.SQL.py
+++ b/sql/test/BugTracker-2009/Tests/dumping_tables.SF-2776908.SQL.py
@@ -8,8 +8,7 @@ with process.client('sql',
                     stdin = open(os.path.join(os.getenv('TSTSRCDIR'),
                                               os.path.pardir,
                                               
'dumping_tables.SF-2776908.sql')),
-                    stdout = process.PIPE, stderr = process.PIPE,
-                    log = True) as c:
+                    stdout = process.PIPE, stderr = process.PIPE) as c:
     out, err = c.communicate()
     sys.stdout.write(out)
     sys.stderr.write(err)
diff --git a/sql/test/BugTracker-2013/Tests/php-size-limit-bug.SQL.sh 
b/sql/test/BugTracker-2013/Tests/php-size-limit-bug.SQL.sh
--- a/sql/test/BugTracker-2013/Tests/php-size-limit-bug.SQL.sh
+++ b/sql/test/BugTracker-2013/Tests/php-size-limit-bug.SQL.sh
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-Mlog -x "php -d include_path=$PHP_INCPATH -f $TSTSRCDIR/php-size-limit-bug.php 
$MAPIPORT $TSTDB"
+php -d include_path=$PHP_INCPATH -f $TSTSRCDIR/php-size-limit-bug.php 
$MAPIPORT $TSTDB
diff --git a/sql/test/BugTracker/Tests/local_temp_table.SF-1865953.SQL.py 
b/sql/test/BugTracker/Tests/local_temp_table.SF-1865953.SQL.py
--- a/sql/test/BugTracker/Tests/local_temp_table.SF-1865953.SQL.py
+++ b/sql/test/BugTracker/Tests/local_temp_table.SF-1865953.SQL.py
@@ -5,7 +5,7 @@ except ImportError:
     import process
 
 def client(args):
-    with process.client('sql', args=args, log=True,
+    with process.client('sql', args=args,
                         stdout=process.PIPE, stderr=process.PIPE) as clt:
         out, err = clt.communicate()
         sys.stdout.write(out)
diff --git a/sql/test/VOC/Tests/VOC.SQL.py b/sql/test/VOC/Tests/VOC.SQL.py
--- a/sql/test/VOC/Tests/VOC.SQL.py
+++ b/sql/test/VOC/Tests/VOC.SQL.py
@@ -37,7 +37,7 @@ with SQLTestCase() as tc:
 #    with process.client(lang='sql',
 #                       user=user, passwd=passwd,
 #                       args=[os.path.join(d, os.pardir, file)],
-#                       log=True, echo=echo) as c:
+#                       echo=echo) as c:
 #        c.communicate()
 #
 #client('VOCcreate_user.sql', 'monetdb', 'monetdb')
diff --git 
a/sql/test/bugs/Tests/unicode_varchar-bug-sf-1041324_JdbcClient.SQL.sh 
b/sql/test/bugs/Tests/unicode_varchar-bug-sf-1041324_JdbcClient.SQL.sh
--- a/sql/test/bugs/Tests/unicode_varchar-bug-sf-1041324_JdbcClient.SQL.sh
+++ b/sql/test/bugs/Tests/unicode_varchar-bug-sf-1041324_JdbcClient.SQL.sh
@@ -8,6 +8,6 @@ EOF
 LC_ALL="`locale -a | grep -i en_us | grep -i utf | head -n 1`"
 export LC_ALL
 
-Mlog -x "java nl.cwi.monetdb.client.JdbcClient -h $HOST -p $MAPIPORT -d 
${TSTDB} -f \"$RELSRCDIR/unicode_varchar-bug-sf-1041324.sql\""
+java nl.cwi.monetdb.client.JdbcClient -h $HOST -p $MAPIPORT -d ${TSTDB} -f 
"$RELSRCDIR/unicode_varchar-bug-sf-1041324.sql"
 
 rm -f .monetdb
diff --git a/sql/test/mapi/Tests/php_dec38.SQL.sh 
b/sql/test/mapi/Tests/php_dec38.SQL.sh
--- a/sql/test/mapi/Tests/php_dec38.SQL.sh
+++ b/sql/test/mapi/Tests/php_dec38.SQL.sh
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-Mlog -x "php -d include_path=$PHP_INCPATH -f $TSTSRCDIR/php_dec38.php 
$MAPIPORT $TSTDB"
+php -d include_path=$PHP_INCPATH -f $TSTSRCDIR/php_dec38.php $MAPIPORT $TSTDB
diff --git a/sql/test/mapi/Tests/php_int128.SQL.sh 
b/sql/test/mapi/Tests/php_int128.SQL.sh
--- a/sql/test/mapi/Tests/php_int128.SQL.sh
+++ b/sql/test/mapi/Tests/php_int128.SQL.sh
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-Mlog -x "php -d include_path=$PHP_INCPATH -f $TSTSRCDIR/php_int128.php 
$MAPIPORT $TSTDB"
+php -d include_path=$PHP_INCPATH -f $TSTSRCDIR/php_int128.php $MAPIPORT $TSTDB
diff --git a/sql/test/mapi/Tests/php_int64_dec18.SQL.sh 
b/sql/test/mapi/Tests/php_int64_dec18.SQL.sh
--- a/sql/test/mapi/Tests/php_int64_dec18.SQL.sh
+++ b/sql/test/mapi/Tests/php_int64_dec18.SQL.sh
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-Mlog -x "php -d include_path=$PHP_INCPATH -f $TSTSRCDIR/php_int64_dec18.php 
$MAPIPORT $TSTDB"
+php -d include_path=$PHP_INCPATH -f $TSTSRCDIR/php_int64_dec18.php $MAPIPORT 
$TSTDB
diff --git a/sql/test/mapi/Tests/php_monetdb.SQL.sh 
b/sql/test/mapi/Tests/php_monetdb.SQL.sh
--- a/sql/test/mapi/Tests/php_monetdb.SQL.sh
+++ b/sql/test/mapi/Tests/php_monetdb.SQL.sh
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-Mlog -x "php -d include_path=$PHP_INCPATH -f 
$TSTSRCBASE/clients/examples/php/sqlsample.php $MAPIPORT $TSTDB"
+php -d include_path=$PHP_INCPATH -f 
$TSTSRCBASE/clients/examples/php/sqlsample.php $MAPIPORT $TSTDB
diff --git a/sql/test/mapi/Tests/python3_dbapi.SQL.sh 
b/sql/test/mapi/Tests/python3_dbapi.SQL.sh
--- a/sql/test/mapi/Tests/python3_dbapi.SQL.sh
+++ b/sql/test/mapi/Tests/python3_dbapi.SQL.sh
@@ -8,4 +8,4 @@ testpath="$TSTSRCBASE/clients/examples/p
 PYTHONPATH=${PYTHON3PATH}
 export PYTHONPATH
 
-Mlog -x "${PYTHON3} ${testpath}/sqlsample.py $MAPIPORT $TSTDB $MAPIHOST"
+${PYTHON3} ${testpath}/sqlsample.py $MAPIPORT $TSTDB $MAPIHOST
diff --git a/sql/test/mapi/Tests/python3_dec38.SQL.sh 
b/sql/test/mapi/Tests/python3_dec38.SQL.sh
--- a/sql/test/mapi/Tests/python3_dec38.SQL.sh
+++ b/sql/test/mapi/Tests/python3_dec38.SQL.sh
@@ -8,4 +8,4 @@ testpath="$TSTSRCDIR"
 PYTHONPATH=$testpath:${PYTHON3PATH}
 export PYTHONPATH
 
-Mlog -x "${PYTHON3} $testpath/python_dec38.py $MAPIPORT $TSTDB $MAPIHOST"
+${PYTHON3} $testpath/python_dec38.py $MAPIPORT $TSTDB $MAPIHOST
diff --git a/sql/test/mapi/Tests/python3_int128.SQL.sh 
b/sql/test/mapi/Tests/python3_int128.SQL.sh
--- a/sql/test/mapi/Tests/python3_int128.SQL.sh
+++ b/sql/test/mapi/Tests/python3_int128.SQL.sh
@@ -8,4 +8,4 @@ testpath="$TSTSRCDIR"
 PYTHONPATH=$testpath:${PYTHON3PATH}
 export PYTHONPATH
 
-Mlog -x "${PYTHON3} $testpath/python_int128.py $MAPIPORT $TSTDB $MAPIHOST"
+${PYTHON3} $testpath/python_int128.py $MAPIPORT $TSTDB $MAPIHOST
diff --git a/sql/test/mapi/Tests/sample0.SQL.sh 
b/sql/test/mapi/Tests/sample0.SQL.sh
--- a/sql/test/mapi/Tests/sample0.SQL.sh
+++ b/sql/test/mapi/Tests/sample0.SQL.sh
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-Mlog -x "sample0 $HOST $MAPIPORT sql"
+sample0 $HOST $MAPIPORT sql
diff --git a/sql/test/mapi/Tests/sample1.SQL.sh 
b/sql/test/mapi/Tests/sample1.SQL.sh
--- a/sql/test/mapi/Tests/sample1.SQL.sh
+++ b/sql/test/mapi/Tests/sample1.SQL.sh
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-Mlog -x "sample1 $HOST $MAPIPORT sql"
+sample1 $HOST $MAPIPORT sql
diff --git a/sql/test/mapi/Tests/sample4.SQL.sh 
b/sql/test/mapi/Tests/sample4.SQL.sh
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to