Changeset: f71457f6a19a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f71457f6a19a
Modified Files:
        testing/Mtest.py.in
Branch: Jul2017
Log Message:

Also test for DBI module when testing for usability of Perl.


diffs (20 lines):

diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -3774,14 +3774,14 @@ def main(argv) :
     else:
         CONDITIONALS['HAVE_LIBPANDAS'] = '#'
     if CheckExec('perl'):
-        proc = process.Popen(['perl', '-e', 'use MonetDB::CLI::MapiPP'],
+        proc = process.Popen(['perl', '-e', 'use MonetDB::CLI::MapiPP; use 
DBI;'],
                              stdout = process.PIPE, stderr = process.PIPE,
                              universal_newlines = True)
         perl_out, perl_err = proc.communicate()
         if proc.returncode == 0:
             CONDITIONALS['HAVE_PERL'] = '#'
         else:
-            print('Perl available, but MonetDB driver not available')
+            print('Perl available, but MonetDB driver or DBI module not 
available')
     if CONDITIONALS['HAVE_LIBR'] and CheckExec('R'):
         proc = process.Popen(['R', '--slave', '--no-save', '--no-restore',
                               '-e', 'print(Sys.getenv("R_LIBS_USER"))'],
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to