Changeset: 56816ec868a3 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=56816ec868a3
Modified Files:
configure.ag
sql/test/Skyserver/Tests/Skyserver.SQL.py
sql/test/Skyserver/Tests/Skyserver_v6.SQL.py
Branch: default
Log Message:
Merged from Mar2011
diffs (truncated from 539 to 300 lines):
diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -618,6 +618,12 @@
dnl ... however, some things aren't solved, yet:
dnl (for the time being,) we need to disable some warnings (making
them remarks doesn't seem to work with -Werror):
X_CFLAGS="$X_CFLAGS -wd1418,1419,981,810,193,111,1357"
+ dnl ICC 11 warns about non-pointer conversion from "<type>" to
+ dnl "<smaller>" may lose significant bits, it does however, also for
+ dnl constants like short s = 1234, which is too much
+ case $icc_ver in
+ 11.*) X_CFLAGS="$X_CFLAGS,2259" ;;
+ esac
case $icc_ver in
8.[[1-9]]*) X_CFLAGS="$X_CFLAGS,1572" ;;
9.[[1-9]]*) X_CFLAGS="$X_CFLAGS,1572,1599" ;;
diff --git a/monetdb5/tools/Tests/mclient-t-s.MAL.py
b/monetdb5/tools/Tests/mclient-t-s.MAL.py
--- a/monetdb5/tools/Tests/mclient-t-s.MAL.py
+++ b/monetdb5/tools/Tests/mclient-t-s.MAL.py
@@ -1,5 +1,8 @@
import os, sys
-from MonetDBtesting import process
+try:
+ from MonetDBtesting import process
+except ImportError:
+ import process
def client(args):
clt = process.client('mal', args = args,
diff --git a/sql/benchmarks/tpch/LOCKED/Tests/load.SQL.py
b/sql/benchmarks/tpch/LOCKED/Tests/load.SQL.py
--- a/sql/benchmarks/tpch/LOCKED/Tests/load.SQL.py
+++ b/sql/benchmarks/tpch/LOCKED/Tests/load.SQL.py
@@ -1,5 +1,8 @@
import os, sys
-from MonetDBtesting import process
+try:
+ from MonetDBtesting import process
+except ImportError:
+ import process
TSTSRCBASE = os.environ['TSTSRCBASE']
TSTDIR = os.environ['TSTDIR']
diff --git a/sql/benchmarks/tpch/Tests/load.SQL.py
b/sql/benchmarks/tpch/Tests/load.SQL.py
--- a/sql/benchmarks/tpch/Tests/load.SQL.py
+++ b/sql/benchmarks/tpch/Tests/load.SQL.py
@@ -1,5 +1,8 @@
import os, sys
-from MonetDBtesting import process
+try:
+ from MonetDBtesting import process
+except ImportError:
+ import process
TSTSRCBASE = os.environ['TSTSRCBASE']
TSTDIR = os.environ['TSTDIR']
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
@@ -1,5 +1,8 @@
import os, sys
-from MonetDBtesting import process
+try:
+ from MonetDBtesting import process
+except ImportError:
+ import process
def client(cmd, infile = None):
if infile is not None:
diff --git a/sql/test/BugTracker-2008/Tests/insert-null-byte.SF-2233581.SQL.py
b/sql/test/BugTracker-2008/Tests/insert-null-byte.SF-2233581.SQL.py
--- a/sql/test/BugTracker-2008/Tests/insert-null-byte.SF-2233581.SQL.py
+++ b/sql/test/BugTracker-2008/Tests/insert-null-byte.SF-2233581.SQL.py
@@ -1,5 +1,8 @@
import os, sys
-from MonetDBtesting import process
+try:
+ from MonetDBtesting import process
+except ImportError:
+ import process
c = process.client('sql',
stdin = open(os.path.join(os.getenv('TSTSRCDIR'),
diff --git a/sql/test/BugTracker-2009/Tests/create_on_ro_db_crash.SF-2830238.py
b/sql/test/BugTracker-2009/Tests/create_on_ro_db_crash.SF-2830238.py
--- a/sql/test/BugTracker-2009/Tests/create_on_ro_db_crash.SF-2830238.py
+++ b/sql/test/BugTracker-2009/Tests/create_on_ro_db_crash.SF-2830238.py
@@ -1,6 +1,9 @@
import sys
import os
-from MonetDBtesting import process
+try:
+ from MonetDBtesting import process
+except ImportError:
+ import process
def client(input):
c = process.client('sql',
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
@@ -1,5 +1,8 @@
import os, sys
-from MonetDBtesting import process
+try:
+ from MonetDBtesting import process
+except ImportError:
+ import process
c = process.client('sql',
stdin = open(os.path.join(os.getenv('TSTSRCDIR'),
diff --git a/sql/test/BugTracker-2009/Tests/lost_update.SF-2790020.py
b/sql/test/BugTracker-2009/Tests/lost_update.SF-2790020.py
--- a/sql/test/BugTracker-2009/Tests/lost_update.SF-2790020.py
+++ b/sql/test/BugTracker-2009/Tests/lost_update.SF-2790020.py
@@ -1,7 +1,10 @@
import sys
import os
import time
-from MonetDBtesting import process
+try:
+ from MonetDBtesting import process
+except ImportError:
+ import process
def server():
return process.server('sql',
diff --git
a/sql/test/BugTracker-2009/Tests/set_history_and_drop_table.SF-2607045.SQL.py
b/sql/test/BugTracker-2009/Tests/set_history_and_drop_table.SF-2607045.SQL.py
---
a/sql/test/BugTracker-2009/Tests/set_history_and_drop_table.SF-2607045.SQL.py
+++
b/sql/test/BugTracker-2009/Tests/set_history_and_drop_table.SF-2607045.SQL.py
@@ -1,5 +1,8 @@
import os, sys
-from MonetDBtesting import process
+try:
+ from MonetDBtesting import process
+except ImportError:
+ import process
d = os.getenv('TSTSRCDIR')
diff --git a/sql/test/BugTracker-2010/Tests/new-readonly-db.Bug-2695.py
b/sql/test/BugTracker-2010/Tests/new-readonly-db.Bug-2695.py
--- a/sql/test/BugTracker-2010/Tests/new-readonly-db.Bug-2695.py
+++ b/sql/test/BugTracker-2010/Tests/new-readonly-db.Bug-2695.py
@@ -1,4 +1,7 @@
-from MonetDBtesting import process
+try:
+ from MonetDBtesting import process
+except ImportError:
+ import process
import os
s = process.server(lang = 'sql', args = ['--readonly'],
diff --git
a/sql/test/BugTracker-2010/Tests/operation-successful.Bug-2589.SQL.py
b/sql/test/BugTracker-2010/Tests/operation-successful.Bug-2589.SQL.py
--- a/sql/test/BugTracker-2010/Tests/operation-successful.Bug-2589.SQL.py
+++ b/sql/test/BugTracker-2010/Tests/operation-successful.Bug-2589.SQL.py
@@ -1,5 +1,8 @@
import sys
-from MonetDBtesting import process
+try:
+ from MonetDBtesting import process
+except ImportError:
+ import process
c = process.client(lang = 'sql',
args = ['-fsql',
diff --git a/sql/test/BugTracker/Tests/auto_commit.SF-1724151.SQL.py
b/sql/test/BugTracker/Tests/auto_commit.SF-1724151.SQL.py
--- a/sql/test/BugTracker/Tests/auto_commit.SF-1724151.SQL.py
+++ b/sql/test/BugTracker/Tests/auto_commit.SF-1724151.SQL.py
@@ -1,5 +1,8 @@
import os, sys
-from MonetDBtesting import process
+try:
+ from MonetDBtesting import process
+except ImportError:
+ import process
c = process.client('sql',
args = [os.path.join(os.getenv('TSTSRCDIR'),
diff --git a/sql/test/BugTracker/Tests/connect_crash.SF-1436626.py
b/sql/test/BugTracker/Tests/connect_crash.SF-1436626.py
--- a/sql/test/BugTracker/Tests/connect_crash.SF-1436626.py
+++ b/sql/test/BugTracker/Tests/connect_crash.SF-1436626.py
@@ -1,5 +1,8 @@
import os, sys
-from MonetDBtesting import process
+try:
+ from MonetDBtesting import process
+except ImportError:
+ import process
srv = process.server('sql', stdin = process.PIPE, stdout = process.PIPE,
stderr = process.PIPE)
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
@@ -1,5 +1,8 @@
import os, sys
-from MonetDBtesting import process
+try:
+ from MonetDBtesting import process
+except ImportError:
+ import process
def client(args):
clt = process.client('sql', args = args, log = True,
diff --git
a/sql/test/BugTracker/Tests/mapi_connect_errors_vanish.SF-1432134.SQL.py
b/sql/test/BugTracker/Tests/mapi_connect_errors_vanish.SF-1432134.SQL.py
--- a/sql/test/BugTracker/Tests/mapi_connect_errors_vanish.SF-1432134.SQL.py
+++ b/sql/test/BugTracker/Tests/mapi_connect_errors_vanish.SF-1432134.SQL.py
@@ -1,5 +1,8 @@
import sys
-from MonetDBtesting import process
+try:
+ from MonetDBtesting import process
+except ImportError:
+ import process
c = process.client('sql', user = 'invalid', passwd = 'invalid',
stdout = process.PIPE, stderr = process.PIPE)
diff --git
a/sql/test/BugTracker/Tests/mdb_starts_with_sql_debug_64.SF-1999354.py
b/sql/test/BugTracker/Tests/mdb_starts_with_sql_debug_64.SF-1999354.py
--- a/sql/test/BugTracker/Tests/mdb_starts_with_sql_debug_64.SF-1999354.py
+++ b/sql/test/BugTracker/Tests/mdb_starts_with_sql_debug_64.SF-1999354.py
@@ -1,5 +1,8 @@
import os, sys
-from MonetDBtesting import process
+try:
+ from MonetDBtesting import process
+except ImportError:
+ import process
def server_start(args):
sys.stderr.write('#mserver: "%s"\n' % ' '.join(args))
diff --git a/sql/test/BugTracker/Tests/set_a_new_user_password.SF-1844050.py
b/sql/test/BugTracker/Tests/set_a_new_user_password.SF-1844050.py
--- a/sql/test/BugTracker/Tests/set_a_new_user_password.SF-1844050.py
+++ b/sql/test/BugTracker/Tests/set_a_new_user_password.SF-1844050.py
@@ -1,5 +1,8 @@
import os, sys
-from MonetDBtesting import process
+try:
+ from MonetDBtesting import process
+except ImportError:
+ import process
def server_start(lang):
sys.stderr.write('#mserver\n')
diff --git
a/sql/test/BugTracker/Tests/set_sql_debug_64__breaking_the_DB.SF-1906287.py
b/sql/test/BugTracker/Tests/set_sql_debug_64__breaking_the_DB.SF-1906287.py
--- a/sql/test/BugTracker/Tests/set_sql_debug_64__breaking_the_DB.SF-1906287.py
+++ b/sql/test/BugTracker/Tests/set_sql_debug_64__breaking_the_DB.SF-1906287.py
@@ -1,5 +1,8 @@
import os, sys
-from MonetDBtesting import process
+try:
+ from MonetDBtesting import process
+except ImportError:
+ import process
def server_start(args = []):
sys.stderr.write('#mserver\n')
diff --git a/sql/test/Connections/Tests/connections.py
b/sql/test/Connections/Tests/connections.py
--- a/sql/test/Connections/Tests/connections.py
+++ b/sql/test/Connections/Tests/connections.py
@@ -1,5 +1,8 @@
import os, sys
-from MonetDBtesting import process
+try:
+ from MonetDBtesting import process
+except ImportError:
+ import process
def remote_server_start(x,s):
sys.stdout.write('\nserver %d%d\n' % (x,s))
diff --git a/sql/test/Dependencies/Tests/Dependencies.SQL.py
b/sql/test/Dependencies/Tests/Dependencies.SQL.py
--- a/sql/test/Dependencies/Tests/Dependencies.SQL.py
+++ b/sql/test/Dependencies/Tests/Dependencies.SQL.py
@@ -1,5 +1,8 @@
import os, sys
-from MonetDBtesting import process
+try:
+ from MonetDBtesting import process
+except ImportError:
+ import process
def client(cmd, infile, user = 'monetdb', passwd = 'monetdb'):
clt = process.client(cmd, user = user, passwd = passwd,
diff --git a/sql/test/Dump/Tests/dump-empty.SQL.py
b/sql/test/Dump/Tests/dump-empty.SQL.py
--- a/sql/test/Dump/Tests/dump-empty.SQL.py
+++ b/sql/test/Dump/Tests/dump-empty.SQL.py
@@ -1,5 +1,8 @@
import sys
-from MonetDBtesting import process
+try:
+ from MonetDBtesting import process
+except ImportError:
+ import process
p = process.client('sqldump', stdout = process.PIPE, stderr = process.PIPE)
out, err = p.communicate()
diff --git a/sql/test/Dump/Tests/dump.SQL.py b/sql/test/Dump/Tests/dump.SQL.py
--- a/sql/test/Dump/Tests/dump.SQL.py
+++ b/sql/test/Dump/Tests/dump.SQL.py
@@ -1,5 +1,8 @@
import os, sys
-from MonetDBtesting import process
+try:
+ from MonetDBtesting import process
+except ImportError:
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list