Changeset: 55e55da567b8 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=55e55da567b8
Modified Files:
        monetdb5/modules/mosaic/Tests/run_mal_client.py
Branch: mosaic
Log Message:

Make tests work on Windows.


diffs (13 lines):

diff --git a/monetdb5/modules/mosaic/Tests/run_mal_client.py 
b/monetdb5/modules/mosaic/Tests/run_mal_client.py
--- a/monetdb5/modules/mosaic/Tests/run_mal_client.py
+++ b/monetdb5/modules/mosaic/Tests/run_mal_client.py
@@ -11,8 +11,7 @@ def prepare_mal_script(generic_script_na
 def get_mal_script(fqn_calling_script_file):
     test_file = os.path.basename(fqn_calling_script_file)
     parts = test_file.split(".", 3)
-    dir_path = os.path.dirname(os.path.realpath(fqn_calling_script_file))
-    test_file = os.path.join(dir_path, parts[0] + ".mal")
+    test_file = os.path.join(os.environ['TSTSRCDIR'], parts[0] + ".mal")
     compression_type = parts[1]
     return test_file, compression_type
 
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to