[libgda] Meson: added unit test for connection execute for libgda/
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Meson: added unit test for connection execute for libgda/
- Date: Fri, 22 Jun 2018 17:13:23 +0000 (UTC)
commit ab2c689e881ae312c476d3b362cc31ea0e57fa10
Author: Daniel Espinosa <esodan gmail com>
Date: Tue Jun 19 14:01:26 2018 -0500
Meson: added unit test for connection execute for libgda/
libgda/meson.build | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
---
diff --git a/libgda/meson.build b/libgda/meson.build
index b5a5dc6b0..129663a69 100644
--- a/libgda/meson.build
+++ b/libgda/meson.build
@@ -234,6 +234,24 @@ tco = executable('test_cnc_open', 'test-cnc-open.c',
install: false
)
test('OpenConnection', tco,
+ env: [
+ 'GDA_TOP_SRC_DIR='+meson.source_root(),
+ 'GDA_TOP_BUILD_DIR='+meson.build_root()
+ ]
+ )
+
+tce = executable('test_cnc_exec', 'test-cnc-exec.c',
+ c_args: [
+ '-DROOT_DIR="'+meson.source_root()+'"'
+ ],
+ dependencies: [
+ libgda_dep,
+ inc_rooth_dep
+ ],
+ link_with: libgda,
+ install: false
+ )
+test('OpenConnectionExecute', tce,
env: [
'GDA_TOP_SRC_DIR='+meson.source_root(),
'GDA_TOP_BUILD_DIR='+meson.build_root()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]