[libgda] Meson: added bin converter test
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Meson: added bin converter test
- Date: Mon, 25 Jun 2018 03:05:15 +0000 (UTC)
commit 65078821ce20abc75c53709801a1a167bd7ad1ef
Author: Daniel Espinosa <esodan gmail com>
Date: Sun Jun 24 21:07:58 2018 -0500
Meson: added bin converter test
tests/meson.build | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
---
diff --git a/tests/meson.build b/tests/meson.build
index 683181952..1e15b955e 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -1,4 +1,4 @@
-# -bin-converter test-sql-identifier test-identifiers-quotes test-sql-builder test-connection-string-split
test-input-parsers test-quark-list test-sql-renderer
+# test-sql-identifier test-identifiers-quotes test-sql-builder test-connection-string-split
test-input-parsers test-quark-list test-sql-renderer
test_headers = files([
'gda-ddl-creator.h'
@@ -33,6 +33,30 @@ tddlc = executable('test-ddl-creator test',
install: false
)
test('DDLCreator', tddlc,
+ env: [
+ 'GDA_TOP_SRC_DIR='+meson.source_root(),
+ 'GDA_TOP_BUILD_DIR='+meson.build_root()
+ ]
+ )
+
+
+tbc = executable('test-bin-converter',
+ ['test-bin-converter.c'] + tests_sources,
+ c_args: [
+ '-include',
+ meson.build_root() + '/config.h',
+ '-DCHECK_FILES="'+meson.source_root()+'"',
+ '-DTOP_BUILD_DIR="'+meson.build_root()+'"'
+ ],
+ link_with: libgda,
+ dependencies: [
+ libgda_dep,
+ inc_rooth_dep,
+ inc_sqliteh_dep
+ ],
+ install: false
+ )
+test('BinConverter', tbc,
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]