Changeset: 7e36f7f78133 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=7e36f7f78133
Modified Files:
        sql/test/bincopy/Tests/bincopy_big_endians_on_client.SQL.py
        sql/test/bincopy/Tests/bincopy_big_endians_on_server.SQL.py
        sql/test/bincopy/Tests/bincopy_bools_on_client.SQL.py
        sql/test/bincopy/Tests/bincopy_bools_on_server.SQL.py
        sql/test/bincopy/Tests/bincopy_broken_strings_on_client.SQL.py
        sql/test/bincopy/Tests/bincopy_broken_strings_on_server.SQL.py
        sql/test/bincopy/Tests/bincopy_decimals_on_client.SQL.py
        sql/test/bincopy/Tests/bincopy_decimals_on_server.SQL.py
        sql/test/bincopy/Tests/bincopy_doubles_on_client.SQL.py
        sql/test/bincopy/Tests/bincopy_doubles_on_server.SQL.py
        sql/test/bincopy/Tests/bincopy_floats_on_client.SQL.py
        sql/test/bincopy/Tests/bincopy_floats_on_server.SQL.py
        sql/test/bincopy/Tests/bincopy_huge_decimals_on_client.SQL.py
        sql/test/bincopy/Tests/bincopy_huge_decimals_on_server.SQL.py
        sql/test/bincopy/Tests/bincopy_huge_ints_on_client.SQL.py
        sql/test/bincopy/Tests/bincopy_huge_ints_on_server.SQL.py
        sql/test/bincopy/Tests/bincopy_inconsistent_length_on_client.SQL.py
        sql/test/bincopy/Tests/bincopy_inconsistent_length_on_server.SQL.py
        sql/test/bincopy/Tests/bincopy_integer_types_on_client.SQL.py
        sql/test/bincopy/Tests/bincopy_integer_types_on_server.SQL.py
        sql/test/bincopy/Tests/bincopy_ints_on_client.SQL.py
        sql/test/bincopy/Tests/bincopy_ints_on_server.SQL.py
        sql/test/bincopy/Tests/bincopy_json_objects_on_client.SQL.py
        sql/test/bincopy/Tests/bincopy_json_objects_on_server.SQL.py
        sql/test/bincopy/Tests/bincopy_large_strings_on_client.SQL.py
        sql/test/bincopy/Tests/bincopy_large_strings_on_server.SQL.py
        sql/test/bincopy/Tests/bincopy_little_endians_on_client.SQL.py
        sql/test/bincopy/Tests/bincopy_little_endians_on_server.SQL.py
        sql/test/bincopy/Tests/bincopy_more_ints_on_client.SQL.py
        sql/test/bincopy/Tests/bincopy_more_ints_on_server.SQL.py
        sql/test/bincopy/Tests/bincopy_native_endians_on_client.SQL.py
        sql/test/bincopy/Tests/bincopy_native_endians_on_server.SQL.py
        sql/test/bincopy/Tests/bincopy_newlines_on_client.SQL.py
        sql/test/bincopy/Tests/bincopy_newlines_on_server.SQL.py
        sql/test/bincopy/Tests/bincopy_null_ints_on_client.SQL.py
        sql/test/bincopy/Tests/bincopy_null_ints_on_server.SQL.py
        sql/test/bincopy/Tests/bincopy_null_strings_on_client.SQL.py
        sql/test/bincopy/Tests/bincopy_null_strings_on_server.SQL.py
        sql/test/bincopy/Tests/bincopy_partial_on_client.SQL.py
        sql/test/bincopy/Tests/bincopy_partial_on_server.SQL.py
        sql/test/bincopy/Tests/bincopy_strings_on_client.SQL.py
        sql/test/bincopy/Tests/bincopy_strings_on_server.SQL.py
        sql/test/bincopy/Tests/bincopy_timestamps_on_client.SQL.py
        sql/test/bincopy/Tests/bincopy_timestamps_on_server.SQL.py
        sql/test/bincopy/Tests/bincopy_urls_on_client.SQL.py
        sql/test/bincopy/Tests/bincopy_urls_on_server.SQL.py
        sql/test/bincopy/Tests/bincopy_uuids_on_client.SQL.py
        sql/test/bincopy/Tests/bincopy_uuids_on_server.SQL.py
Branch: default
Log Message:

Add TSTSRCDIR to the path


diffs (truncated from 576 to 300 lines):

diff --git a/sql/test/bincopy/Tests/bincopy_big_endians_on_client.SQL.py 
b/sql/test/bincopy/Tests/bincopy_big_endians_on_client.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_big_endians_on_client.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_big_endians_on_client.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import BIG_ENDIANS as testcode
 
diff --git a/sql/test/bincopy/Tests/bincopy_big_endians_on_server.SQL.py 
b/sql/test/bincopy/Tests/bincopy_big_endians_on_server.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_big_endians_on_server.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_big_endians_on_server.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import BIG_ENDIANS as testcode
 
diff --git a/sql/test/bincopy/Tests/bincopy_bools_on_client.SQL.py 
b/sql/test/bincopy/Tests/bincopy_bools_on_client.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_bools_on_client.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_bools_on_client.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import BOOLS as testcode
 
diff --git a/sql/test/bincopy/Tests/bincopy_bools_on_server.SQL.py 
b/sql/test/bincopy/Tests/bincopy_bools_on_server.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_bools_on_server.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_bools_on_server.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import BOOLS as testcode
 
diff --git a/sql/test/bincopy/Tests/bincopy_broken_strings_on_client.SQL.py 
b/sql/test/bincopy/Tests/bincopy_broken_strings_on_client.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_broken_strings_on_client.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_broken_strings_on_client.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import BROKEN_STRINGS as testcode
 
diff --git a/sql/test/bincopy/Tests/bincopy_broken_strings_on_server.SQL.py 
b/sql/test/bincopy/Tests/bincopy_broken_strings_on_server.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_broken_strings_on_server.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_broken_strings_on_server.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import BROKEN_STRINGS as testcode
 
diff --git a/sql/test/bincopy/Tests/bincopy_decimals_on_client.SQL.py 
b/sql/test/bincopy/Tests/bincopy_decimals_on_client.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_decimals_on_client.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_decimals_on_client.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import DECIMALS as testcode
 
diff --git a/sql/test/bincopy/Tests/bincopy_decimals_on_server.SQL.py 
b/sql/test/bincopy/Tests/bincopy_decimals_on_server.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_decimals_on_server.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_decimals_on_server.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import DECIMALS as testcode
 
diff --git a/sql/test/bincopy/Tests/bincopy_doubles_on_client.SQL.py 
b/sql/test/bincopy/Tests/bincopy_doubles_on_client.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_doubles_on_client.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_doubles_on_client.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import DOUBLES as testcode
 
diff --git a/sql/test/bincopy/Tests/bincopy_doubles_on_server.SQL.py 
b/sql/test/bincopy/Tests/bincopy_doubles_on_server.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_doubles_on_server.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_doubles_on_server.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import DOUBLES as testcode
 
diff --git a/sql/test/bincopy/Tests/bincopy_floats_on_client.SQL.py 
b/sql/test/bincopy/Tests/bincopy_floats_on_client.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_floats_on_client.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_floats_on_client.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import FLOATS as testcode
 
diff --git a/sql/test/bincopy/Tests/bincopy_floats_on_server.SQL.py 
b/sql/test/bincopy/Tests/bincopy_floats_on_server.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_floats_on_server.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_floats_on_server.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import FLOATS as testcode
 
diff --git a/sql/test/bincopy/Tests/bincopy_huge_decimals_on_client.SQL.py 
b/sql/test/bincopy/Tests/bincopy_huge_decimals_on_client.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_huge_decimals_on_client.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_huge_decimals_on_client.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import HUGE_DECIMALS as testcode
 
diff --git a/sql/test/bincopy/Tests/bincopy_huge_decimals_on_server.SQL.py 
b/sql/test/bincopy/Tests/bincopy_huge_decimals_on_server.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_huge_decimals_on_server.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_huge_decimals_on_server.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import HUGE_DECIMALS as testcode
 
diff --git a/sql/test/bincopy/Tests/bincopy_huge_ints_on_client.SQL.py 
b/sql/test/bincopy/Tests/bincopy_huge_ints_on_client.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_huge_ints_on_client.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_huge_ints_on_client.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import HUGE_INTS as testcode
 
diff --git a/sql/test/bincopy/Tests/bincopy_huge_ints_on_server.SQL.py 
b/sql/test/bincopy/Tests/bincopy_huge_ints_on_server.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_huge_ints_on_server.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_huge_ints_on_server.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import HUGE_INTS as testcode
 
diff --git 
a/sql/test/bincopy/Tests/bincopy_inconsistent_length_on_client.SQL.py 
b/sql/test/bincopy/Tests/bincopy_inconsistent_length_on_client.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_inconsistent_length_on_client.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_inconsistent_length_on_client.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import INCONSISTENT_LENGTH as testcode
 
diff --git 
a/sql/test/bincopy/Tests/bincopy_inconsistent_length_on_server.SQL.py 
b/sql/test/bincopy/Tests/bincopy_inconsistent_length_on_server.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_inconsistent_length_on_server.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_inconsistent_length_on_server.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import INCONSISTENT_LENGTH as testcode
 
diff --git a/sql/test/bincopy/Tests/bincopy_integer_types_on_client.SQL.py 
b/sql/test/bincopy/Tests/bincopy_integer_types_on_client.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_integer_types_on_client.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_integer_types_on_client.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import INTEGER_TYPES as testcode
 
diff --git a/sql/test/bincopy/Tests/bincopy_integer_types_on_server.SQL.py 
b/sql/test/bincopy/Tests/bincopy_integer_types_on_server.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_integer_types_on_server.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_integer_types_on_server.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import INTEGER_TYPES as testcode
 
diff --git a/sql/test/bincopy/Tests/bincopy_ints_on_client.SQL.py 
b/sql/test/bincopy/Tests/bincopy_ints_on_client.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_ints_on_client.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_ints_on_client.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import INTS as testcode
 
diff --git a/sql/test/bincopy/Tests/bincopy_ints_on_server.SQL.py 
b/sql/test/bincopy/Tests/bincopy_ints_on_server.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_ints_on_server.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_ints_on_server.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import INTS as testcode
 
diff --git a/sql/test/bincopy/Tests/bincopy_json_objects_on_client.SQL.py 
b/sql/test/bincopy/Tests/bincopy_json_objects_on_client.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_json_objects_on_client.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_json_objects_on_client.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import JSON_OBJECTS as testcode
 
diff --git a/sql/test/bincopy/Tests/bincopy_json_objects_on_server.SQL.py 
b/sql/test/bincopy/Tests/bincopy_json_objects_on_server.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_json_objects_on_server.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_json_objects_on_server.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import JSON_OBJECTS as testcode
 
diff --git a/sql/test/bincopy/Tests/bincopy_large_strings_on_client.SQL.py 
b/sql/test/bincopy/Tests/bincopy_large_strings_on_client.SQL.py
--- a/sql/test/bincopy/Tests/bincopy_large_strings_on_client.SQL.py
+++ b/sql/test/bincopy/Tests/bincopy_large_strings_on_client.SQL.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+import os
+sys.path.append(os.getenv('TSTSRCDIR'))
 from bincopy_support import run_test
 from bincopy_support import LARGE_STRINGS as testcode
 
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to