[libgda] Meson: Added Connection Tests from libgda directory



commit 630ef097d90ff489cc17d4c3a8082e36f8b0febd
Author: Daniel Espinosa <esodan gmail com>
Date:   Mon Jun 18 18:58:02 2018 -0500

    Meson: Added Connection Tests from libgda directory

 libgda/meson.build | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
---
diff --git a/libgda/meson.build b/libgda/meson.build
index 57c04d5f6..b5a5dc6b0 100644
--- a/libgda/meson.build
+++ b/libgda/meson.build
@@ -222,4 +222,20 @@ libgda = library(
                        inc_libsql_parserh_dep],
        c_args : libgda_cargs,
        install : true
+       )
+
+# Tests
+tco = executable('test_cnc_open', 'test-cnc-open.c',
+       dependencies: [
+               libgda_dep,
+               inc_rooth_dep
+               ],
+       link_with: libgda,
+       install: false
+       )
+test('OpenConnection', tco,
+       env: [
+               'GDA_TOP_SRC_DIR='+meson.source_root(),
+               'GDA_TOP_BUILD_DIR='+meson.build_root()
+               ]
        )
\ No newline at end of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]