Update of /cvsroot/monetdb/sql/src/test/bugs/Tests
In directory
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14066/sql/src/test/bugs/Tests
Modified Files:
Tag: SQL_2-24
All except-union-intersect-bug-sf-1146079.SQL.bat
except-union-intersect-bug-sf-1146079.SQL.sh
unicode_varchar-bug-sf-1041324_JdbcClient.SQL.bat
unicode_varchar-bug-sf-1041324_JdbcClient.SQL.sh
Log Message:
Clean-up of buildtools-, configure-, and testing-legacy in MonetDB-Java.
(
Considered as "bug-fix" by Sjoerd and me.
Has no impact on binary distributions and/or packaging.
Wrapped in tags "JavaTestingCleanUp1_before" & "JavaTestingCleanUp1_after".
Will fix or undo tomorrow in case unexpected problems occur.
)
- Removed "mjclient" as is was not packaged/distributed, anyway.
- Changed test that used "mjclient" to use "jdbcclient.jar" directly.
(Note: "jdbcclient.jar" is not packaged and/or distributed, either, but
only used internally for testing and "convenience".)
- Removed "monetdb-java-config[.bat]" as it was not packaged/distributed,
anyway.
- Changed Mtest.py (and tests) that used monetdb-java-config to find out
where the MonetDB/Java .jar's (and Java/JDBC tests) are installed,
to extract this information from CLASSPATH (falling back to
`monetdb-config --pkgdatadir`/lib and `monetdb-config --pkgdatadir`/Tests
in case CLASSPATH is not set accordingly, assuming MonetDB/Java is stalled
in the same prefix as MonetDB/Common).
- Removed all(?) code that became unused after above changes.
These changes should not break or add any inter-package/-module
dependencies.
TODO (Any help by any Java expert is more than welcome!):
====
For convenience of testing Java/JDBC functionality of binary distributions,
the tests in source/java/tests/ (installed in
<prefix>/share/MonetDB/Tests/*.class) should be collected in a single
"jdbctests.jar" (or alike) to be installed in <prefix>/share/MonetDB/Tests/
or <prefix>/share/MonetDB/lib/ (like the other *.jar files).
If necessary, the tests in sql/src/jdbc/tests/Tests/ then need to be adapted
to use the "jdbctests.jar" instead of the individual
<prefix>/share/MonetDB/Tests/*.class .
Just like "jdbcclient.jar", "jdbctests.jar" is meant for (internal) testing
convenience, only, and not to be distributed.
U except-union-intersect-bug-sf-1146079.SQL.bat
Index: except-union-intersect-bug-sf-1146079.SQL.bat
===================================================================
RCS file:
/cvsroot/monetdb/sql/src/test/bugs/Tests/except-union-intersect-bug-sf-1146079.SQL.bat,v
retrieving revision 1.3
retrieving revision 1.3.4.1
diff -u -d -r1.3 -r1.3.4.1
--- except-union-intersect-bug-sf-1146079.SQL.bat 29 Oct 2007 20:11:57
-0000 1.3
+++ except-union-intersect-bug-sf-1146079.SQL.bat 1 Jul 2008 15:06:37
-0000 1.3.4.1
@@ -8,6 +8,6 @@
prompt # $t $g
echo on
-call mjclient -h %HOST% -p %MAPIPORT% -d %TSTDB% -e -f
"%RELSRCDIR%\..\except-union-intersect-bug-sf-1146079.sql"
+call java nl.cwi.monetdb.client.JdbcClient -h %HOST% -p %MAPIPORT% -d %TSTDB%
-e -f "%RELSRCDIR%\..\except-union-intersect-bug-sf-1146079.sql"
@del .monetdb
U except-union-intersect-bug-sf-1146079.SQL.sh
Index: except-union-intersect-bug-sf-1146079.SQL.sh
===================================================================
RCS file:
/cvsroot/monetdb/sql/src/test/bugs/Tests/except-union-intersect-bug-sf-1146079.SQL.sh,v
retrieving revision 1.2
retrieving revision 1.2.4.1
diff -u -d -r1.2 -r1.2.4.1
--- except-union-intersect-bug-sf-1146079.SQL.sh 29 Oct 2007 20:11:57
-0000 1.2
+++ except-union-intersect-bug-sf-1146079.SQL.sh 1 Jul 2008 15:06:38
-0000 1.2.4.1
@@ -8,6 +8,6 @@
LC_CTYPE="en_US.UTF-8"
export LC_CTYPE
-Mlog -x "$MTIMEOUT mjclient -h $HOST -p $MAPIPORT -d ${TSTDB} -e -f
\"$RELSRCDIR/../except-union-intersect-bug-sf-1146079.sql\""
+Mlog -x "$MTIMEOUT java nl.cwi.monetdb.client.JdbcClient -h $HOST -p $MAPIPORT
-d ${TSTDB} -e -f \"$RELSRCDIR/../except-union-intersect-bug-sf-1146079.sql\""
rm -f .monetdb
Index: All
===================================================================
RCS file: /cvsroot/monetdb/sql/src/test/bugs/Tests/All,v
retrieving revision 1.112.2.6
retrieving revision 1.112.2.7
diff -u -d -r1.112.2.6 -r1.112.2.7
--- All 17 Jun 2008 08:21:46 -0000 1.112.2.6
+++ All 1 Jul 2008 15:06:37 -0000 1.112.2.7
@@ -48,10 +48,10 @@
select_orderby_alias-bug-sf-1024615
like-bug-sf-1031435
unicode_varchar-bug-sf-1041324_MapiClient
-HAVE_MONETDB_JAVAJDBC?unicode_varchar-bug-sf-1041324_JdbcClient
+HAVE_JDBCCLIENT_JAR?unicode_varchar-bug-sf-1041324_JdbcClient
unique-bug-sf-1043512
# like-bug-sf-1043521 # covered by like_tests
-HAVE_MONETDB_JAVAJDBC?except-union-intersect-bug-sf-1146079
+HAVE_JDBCCLIENT_JAR?except-union-intersect-bug-sf-1146079
timestamp_comparison-bug-sf-1158581
selectlist_subquery-sf-1208599
interval_data_commutative_add_bug-sf-1263928
U unicode_varchar-bug-sf-1041324_JdbcClient.SQL.bat
Index: unicode_varchar-bug-sf-1041324_JdbcClient.SQL.bat
===================================================================
RCS file:
/cvsroot/monetdb/sql/src/test/bugs/Tests/unicode_varchar-bug-sf-1041324_JdbcClient.SQL.bat,v
retrieving revision 1.3
retrieving revision 1.3.4.1
diff -u -d -r1.3 -r1.3.4.1
--- unicode_varchar-bug-sf-1041324_JdbcClient.SQL.bat 29 Oct 2007 20:11:57
-0000 1.3
+++ unicode_varchar-bug-sf-1041324_JdbcClient.SQL.bat 1 Jul 2008 15:06:38
-0000 1.3.4.1
@@ -8,6 +8,6 @@
prompt # $t $g
echo on
-call mjclient -h %HOST% -p %MAPIPORT% -d %TSTDB% -f
"%RELSRCDIR%\..\unicode_varchar-bug-sf-1041324.sql"
+call java nl.cwi.monetdb.client.JdbcClient -h %HOST% -p %MAPIPORT% -d %TSTDB%
-f "%RELSRCDIR%\..\unicode_varchar-bug-sf-1041324.sql"
@del .monetdb
U unicode_varchar-bug-sf-1041324_JdbcClient.SQL.sh
Index: unicode_varchar-bug-sf-1041324_JdbcClient.SQL.sh
===================================================================
RCS file:
/cvsroot/monetdb/sql/src/test/bugs/Tests/unicode_varchar-bug-sf-1041324_JdbcClient.SQL.sh,v
retrieving revision 1.3
retrieving revision 1.3.4.1
diff -u -d -r1.3 -r1.3.4.1
--- unicode_varchar-bug-sf-1041324_JdbcClient.SQL.sh 29 Oct 2007 20:11:58
-0000 1.3
+++ unicode_varchar-bug-sf-1041324_JdbcClient.SQL.sh 1 Jul 2008 15:06:39
-0000 1.3.4.1
@@ -8,6 +8,6 @@
LC_ALL="`locale -a | grep -i en_us | grep -i utf | head -n 1`"
export LC_ALL
-Mlog -x "$MTIMEOUT mjclient -h $HOST -p $MAPIPORT -d ${TSTDB} -f
\"$RELSRCDIR/../unicode_varchar-bug-sf-1041324.sql\""
+Mlog -x "$MTIMEOUT java nl.cwi.monetdb.client.JdbcClient -h $HOST -p $MAPIPORT
-d ${TSTDB} -f \"$RELSRCDIR/../unicode_varchar-bug-sf-1041324.sql\""
rm -f .monetdb
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins