[libsoup/autobahn-integration-new: 24/41] tests: include tests/autobahn




commit 88b90f0900a9c37c25a5a418922db445fdbb520f
Author: Diego Pino Garcia <dpino igalia com>
Date:   Mon Jan 18 15:13:54 2021 +0800

    tests: include tests/autobahn

 meson.build       | 4 ++++
 meson_options.txt | 6 ++++++
 2 files changed, 10 insertions(+)
---
diff --git a/meson.build b/meson.build
index b620f0e6..92db547b 100644
--- a/meson.build
+++ b/meson.build
@@ -411,3 +411,7 @@ summary({
   },
   section : 'Testing'
 )
+
+if get_option('autobahn')
+  subdir('tests/autobahn')
+endif
diff --git a/meson_options.txt b/meson_options.txt
index 3a7bae5c..6462fa9f 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -59,6 +59,12 @@ option('tests',
   description: 'Enable unit tests compilation'
 )
 
+option('autobahn',
+  type: 'boolean',
+  value: 'true',
+  description: 'Enable autobahn client compilation'
+)
+
 option('installed_tests',
   type: 'boolean',
   value: false,


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