Changeset: 5e80ba52ec2a for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=5e80ba52ec2a Added Files: sql/jdbc/tests/Tests/JDBC_API_Tester.SQL.bat sql/jdbc/tests/Tests/JDBC_API_Tester.SQL.sh sql/jdbc/tests/Tests/JDBC_API_Tester.stable.err sql/jdbc/tests/Tests/JDBC_API_Tester.stable.out Modified Files: sql/jdbc/tests/Tests/All Branch: Oct2020 Log Message:
Add new test to invoke JDBC_API_Tester program. This program will replace allmost all individual tests in this directory once completed and run the tests much faster. Also it will not produce any std out/err output unless an exception/deviation is found. diffs (72 lines): diff --git a/sql/jdbc/tests/Tests/All b/sql/jdbc/tests/Tests/All --- a/sql/jdbc/tests/Tests/All +++ b/sql/jdbc/tests/Tests/All @@ -1,3 +1,4 @@ +HAVE_JDBCTESTS?JDBC_API_Tester HAVE_JDBCTESTS?SQLcopyinto HAVE_JDBCTESTS?Test_Cautocommit HAVE_JDBCTESTS?Test_CisValid @@ -46,4 +47,5 @@ HAVE_JDBCTESTS?Bug_PrepStmtSetString_638 HAVE_JDBCTESTS?Bug_LargeQueries_6571_6693 HAVE_JDBCTESTS?Bug_IsValid_Timeout_Bug_6782 HAVE_JDBCTESTS?Bug_PrepStmt_With_Errors_Jira292 +# next test should be done AFTER all the other tests have completed HAVE_JDBCCLIENT_JAR?ValidateSystemCatalogTables diff --git a/sql/jdbc/tests/Tests/JDBC_API_Tester.SQL.bat b/sql/jdbc/tests/Tests/JDBC_API_Tester.SQL.bat new file mode 100755 --- /dev/null +++ b/sql/jdbc/tests/Tests/JDBC_API_Tester.SQL.bat @@ -0,0 +1,1 @@ +@call "%TSTSRCDIR%\Test.SQL.bat" %* diff --git a/sql/jdbc/tests/Tests/JDBC_API_Tester.SQL.sh b/sql/jdbc/tests/Tests/JDBC_API_Tester.SQL.sh new file mode 100755 --- /dev/null +++ b/sql/jdbc/tests/Tests/JDBC_API_Tester.SQL.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +$TSTSRCDIR/Test.SQL.sh $* diff --git a/sql/jdbc/tests/Tests/JDBC_API_Tester.stable.err b/sql/jdbc/tests/Tests/JDBC_API_Tester.stable.err new file mode 100644 --- /dev/null +++ b/sql/jdbc/tests/Tests/JDBC_API_Tester.stable.err @@ -0,0 +1,17 @@ +stderr of test 'JDBC_API_Tester` in directory 'sql/jdbc/tests` itself: + + +# 16:26:38 > +# 16:26:38 > "./JDBC_API_Tester.SQL.sh" "JDBC_API_Tester" +# 16:26:38 > + + +# 16:26:38 > +# 16:26:38 > java JDBC_API_Tester "jdbc:monetdb://localhost:31911/mTests_sql_jdbc_tests?user=monetdb&password=monetdb" +# 16:26:38 > + + +# 16:26:38 > +# 16:26:38 > "Done." +# 16:26:38 > + diff --git a/sql/jdbc/tests/Tests/JDBC_API_Tester.stable.out b/sql/jdbc/tests/Tests/JDBC_API_Tester.stable.out new file mode 100644 --- /dev/null +++ b/sql/jdbc/tests/Tests/JDBC_API_Tester.stable.out @@ -0,0 +1,17 @@ +stdout of test 'JDBC_API_Tester` in directory 'sql/jdbc/tests` itself: + + +# 16:26:38 > +# 16:26:38 > "./JDBC_API_Tester.SQL.sh" "JDBC_API_Tester" +# 16:26:38 > + + +# 16:26:38 > +# 16:26:38 > java JDBC_API_Tester "jdbc:monetdb://localhost:31911/mTests_sql_jdbc_tests?user=monetdb&password=monetdb" +# 16:26:38 > + + +# 16:26:38 > +# 16:26:38 > "Done." +# 16:26:38 > + _______________________________________________ checkin-list mailing list [email protected] https://www.monetdb.org/mailman/listinfo/checkin-list
