summaryrefslogtreecommitdiff
blob: 50a62188f8e3c6a9cefb1122cbf676fc913ea2eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/meson_options.txt~	2018-08-29 15:33:20.000000000 +0200
+++ b/meson_options.txt	2019-03-31 13:14:19.542837289 +0200
@@ -1,2 +1,3 @@
 option('disable-help', type : 'boolean', value : false)
 option('build-gst', type : 'boolean', value : false)
+option('enable-tests', type : 'boolean', value : false)
--- a/meson.build~	2018-08-29 15:33:20.000000000 +0200
+++ b/meson.build	2019-03-31 13:14:56.299216758 +0200
@@ -84,5 +84,7 @@
 if not get_option('disable-help')
     subdir('help')
 endif
-subdir('tests')
-subdir('tests/validate-tests')
+if get_option('enable-tests')
+    subdir('tests')
+    subdir('tests/validate-tests')
+endif