[libgda] Disable SQLCipher unit tests when provider is disable too



commit 36503f36c3c05818cfe77f33ef7aa3eb05fa9d54
Author: Daniel Espinosa Ortiz <esodan gmail com>
Date:   Tue Feb 26 11:57:50 2019 -0600

    Disable SQLCipher unit tests when provider is disable too

 tests/providers/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/providers/meson.build b/tests/providers/meson.build
index 2c4480962..45709e94b 100644
--- a/tests/providers/meson.build
+++ b/tests/providers/meson.build
@@ -29,7 +29,7 @@ test('ProviderSQLite', tchksqlite,
                ]
        )
 
-if libcrypto_dep.found ()
+if libcrypto_dep.found () and not get_option('disable-crypto')
 
 tchksqlcipher = executable('check_sqlcipher',
        ['check_sqlcipher.c']+providers_common_sources+common_sources+tests_sources,


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