Changeset: 16a9e81aa331 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/16a9e81aa331
Removed Files:
sql/test/sys-schema/Tests/ValidateSystemCatalogTables.SQL.py
sql/test/sys-schema/Tests/ValidateSystemCatalogTables.sql
Modified Files:
sql/test/sys-schema/Tests/All
Branch: Dec2023
Log Message:
Remove duplicate test ValidateSystemCatalogTables. It is also done in
sql/jdbc/tests/Tests/
diffs (53 lines):
diff --git a/sql/test/sys-schema/Tests/All b/sql/test/sys-schema/Tests/All
--- a/sql/test/sys-schema/Tests/All
+++ b/sql/test/sys-schema/Tests/All
@@ -20,5 +20,3 @@ webExamplesStringFunctions
webExamplesUrlFunctions
utilities
-
-HAVE_JDBCCLIENT_JAR?ValidateSystemCatalogTables
diff --git a/sql/test/sys-schema/Tests/ValidateSystemCatalogTables.SQL.py
b/sql/test/sys-schema/Tests/ValidateSystemCatalogTables.SQL.py
deleted file mode 100755
--- a/sql/test/sys-schema/Tests/ValidateSystemCatalogTables.SQL.py
+++ /dev/null
@@ -1,27 +0,0 @@
-import os, sys
-from subprocess import run, PIPE, CalledProcessError
-
-HOST=os.getenv('HOST')
-MAPIPORT=os.getenv('MAPIPORT')
-TSTDB=os.getenv('TSTDB')
-TSTSRCBASE=os.getenv('TSTSRCBASE')
-TSTDIR=os.getenv('TSTDIR')
-CLIENT='org.monetdb.client.JdbcClient'
-USER='monetdb'
-PASSWORD='monetdb'
-
-
-if __name__ == '__main__':
- with open(os.path.join('.monetdb'), 'w') as f:
- f.write('\n'.join(['user=monetdb', 'password=monetdb']))
- cmd = ['java', CLIENT, '-h', HOST, '-p', MAPIPORT, '-d', TSTDB, '-f',
os.path.join(TSTSRCBASE, TSTDIR, 'Tests', 'ValidateSystemCatalogTables.sql')]
- try:
- p = run(cmd, stdout=PIPE, stderr=PIPE, check=True, encoding='utf-8')
- pout = str(p.stdout)
- if pout != "":
- print(pout)
- perr = str(p.stderr)
- if perr != "":
- print(perr)
- except CalledProcessError as e:
- raise SystemExit(e.stderr)
diff --git a/sql/test/sys-schema/Tests/ValidateSystemCatalogTables.sql
b/sql/test/sys-schema/Tests/ValidateSystemCatalogTables.sql
deleted file mode 100644
--- a/sql/test/sys-schema/Tests/ValidateSystemCatalogTables.sql
+++ /dev/null
@@ -1,7 +0,0 @@
-\vsci_noheader
-\vsni_noheader
-\vsgi_noheader
-\vsi_noheader sys
-\vsi_noheader tmp
-\vdbi_noheader
-
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]