summaryrefslogtreecommitdiff
path: root/dev-libs/libjcat/files/libjcat-0.1.11-disable_installed_tests.patch
blob: 18ef4000293e0732b9cbc67ee9dd902efcb48236 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
--- a/data/tests/colorhug/meson.build
+++ b/data/tests/colorhug/meson.build
@@ -1,3 +1,4 @@
+if false
 install_data([
     'firmware.bin',
     'firmware.bin.asc',
@@ -5,6 +6,7 @@
   ],
   install_dir: join_paths(installed_test_bindir, 'colorhug'),
 )
+endif
 
 if get_option('pkcs7')
   # generate self-signed detached signature
@@ -17,7 +19,7 @@
                         '--load-certificate', pkcs7_certificate,
                         '--infile', '@INPUT@',
                         '--outfile', '@OUTPUT@'],
-    install: true,
+    install: false,
     install_dir: join_paths(installed_test_bindir, 'colorhug'),
   )
 endif
--- a/data/tests/meson.build
+++ b/data/tests/meson.build
@@ -2,7 +2,7 @@
   input : 'libjcat.test.in',
   output : 'libjcat.test',
   configuration : conf,
-  install: true,
+  install: false,
   install_dir: installed_test_datadir,
 )
 
--- a/data/tests/pki/meson.build
+++ b/data/tests/pki/meson.build
@@ -1,9 +1,11 @@
+if false
 install_data([
     'GPG-KEY-Linux-Vendor-Firmware-Service',
     'LVFS-CA.pem',
   ],
   install_dir: join_paths(installed_test_bindir, 'pki'),
 )
+endif
 
 # generate certificate
 pkcs7_config = join_paths(meson.current_source_dir(), 'test.cfg')
--- a/libjcat/meson.build
+++ b/libjcat/meson.build
@@ -248,7 +248,7 @@
     dependencies : [
       libjcat_deps,
     ],
-    install : true,
+    install : false,
     install_dir : installed_test_bindir
   )
   test('jcat-self-test', e, env : testdatadirs)