diff options
Diffstat (limited to 'src/arm/meson.build')
-rw-r--r-- | src/arm/meson.build | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/src/arm/meson.build b/src/arm/meson.build index 9943c32f9..bfeb0b31f 100644 --- a/src/arm/meson.build +++ b/src/arm/meson.build | |||
@@ -39,12 +39,20 @@ executable ('gnunet-arm', | |||
39 | include_directories: [incdir, configuration_inc], | 39 | include_directories: [incdir, configuration_inc], |
40 | install: true, | 40 | install: true, |
41 | install_dir: get_option('bindir')) | 41 | install_dir: get_option('bindir')) |
42 | |||
42 | executable ('gnunet-service-arm', | 43 | executable ('gnunet-service-arm', |
43 | gnunetservicearm_src, | 44 | gnunetservicearm_src, |
44 | dependencies: [libgnunetarm_dep, libgnunetutil_dep], | 45 | dependencies: [libgnunetarm_dep, libgnunetutil_dep], |
45 | include_directories: [incdir, configuration_inc], | 46 | include_directories: [incdir, configuration_inc], |
46 | install: true, | 47 | install: true, |
47 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | 48 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') |
49 | |||
50 | mockservice = executable ('mockup-service', | ||
51 | ['mockup-service.c'], | ||
52 | dependencies: [libgnunetarm_dep, libgnunetutil_dep], | ||
53 | include_directories: [incdir, configuration_inc], | ||
54 | install: false) | ||
55 | |||
48 | testarmapi = executable ('test_arm_api', | 56 | testarmapi = executable ('test_arm_api', |
49 | testarmapi_src, | 57 | testarmapi_src, |
50 | dependencies: [libgnunetarm_dep, libgnunetutil_dep], | 58 | dependencies: [libgnunetarm_dep, libgnunetutil_dep], |
@@ -63,9 +71,16 @@ testgnunetservice = executable ('test_gnunet_service', | |||
63 | configure_file(copy: true, | 71 | configure_file(copy: true, |
64 | input: 'test_arm_api_data.conf', | 72 | input: 'test_arm_api_data.conf', |
65 | output: 'test_arm_api_data.conf') | 73 | output: 'test_arm_api_data.conf') |
66 | test('test_arm_api', testarmapi, workdir: meson.current_source_dir(), | 74 | |
75 | # FIXME: We need to convert the convoluted awk script from Makefile.am here | ||
76 | #configure_file(copy: true, | ||
77 | # input: 'test_gnunet_arm.py.in', | ||
78 | # output: 'test_gnunet_arm.py') | ||
79 | |||
80 | test('test_arm_api', testarmapi, workdir: meson.current_build_dir(), | ||
67 | suite: 'arm') | 81 | suite: 'arm') |
68 | # FIXME this test currently times out/fails. | 82 | test('test_exponential_backoff', testexpbo, workdir: meson.current_build_dir(), |
69 | #test('test_exponential_backoff', testexpbo, workdir: meson.current_source_dir()) | 83 | depends: mockservice, |
70 | test('test_gnunet_service', testgnunetservice, workdir: meson.current_source_dir(), | 84 | timeout: 60, suite: 'arm') |
85 | test('test_gnunet_service_arm', testgnunetservice, workdir: meson.current_build_dir(), | ||
71 | suite: 'arm') | 86 | suite: 'arm') |