[libgda] Meson: Added Meta Store Memory test
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Meson: Added Meta Store Memory test
- Date: Wed, 27 Jun 2018 20:10:42 +0000 (UTC)
commit 484df9fca6dd178ad0e115c202e0395d020394da
Author: Daniel Espinosa <esodan gmail com>
Date: Wed Jun 27 14:04:26 2018 -0500
Meson: Added Meta Store Memory test
tests/meson.build | 3 ++-
tests/meta-store/meson.build | 29 +++++++++++++++++++++++++++++
2 files changed, 31 insertions(+), 1 deletion(-)
---
diff --git a/tests/meson.build b/tests/meson.build
index 9370248fb..113622e23 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -229,4 +229,5 @@ test('SqlRenderer', tsqlr,
]
)
-subdir('data-models')
\ No newline at end of file
+subdir('data-models')
+subdir('meta-store')
\ No newline at end of file
diff --git a/tests/meta-store/meson.build b/tests/meta-store/meson.build
new file mode 100644
index 000000000..03107b189
--- /dev/null
+++ b/tests/meta-store/meson.build
@@ -0,0 +1,29 @@
+# check_meta_store_sqlite check_meta_store_postgresql check_meta_store_mysql
+
+meta_store_common_sources = files([
+ 'common.c',
+ 'common.h'
+ ])
+
+tchkmst = executable('check_meta_store_memory',
+ ['check_meta_store_memory.c'] + meta_store_common_sources,
+ c_args: [
+ '-include',
+ meson.build_root() + '/config.h',
+ '-DTOP_SRC_DIR="'+meson.source_root()+'"',
+ ],
+ link_with: libgda,
+ dependencies: [
+ libgda_dep,
+ inc_rooth_dep,
+ inc_sqliteh_dep,
+ inc_testsh_dep
+ ],
+ install: false
+ )
+test('MetaStoreMemory', tchkmst,
+ 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]