diff --git a/debian/control b/debian/control index 439ab8f..e3ed21c 100644 --- a/debian/control +++ b/debian/control @@ -12,7 +12,6 @@ Build-Depends: gstreamer1.0-plugins-good, gtk-doc-tools , libcallaudio-dev (>= 0.0.5), - libcmocka-dev, libebook-contacts1.2-dev, libfeedback-dev, libfolks-dev, diff --git a/tests/meson.build b/tests/meson.build index fb93348..3c2ad00 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -87,26 +87,22 @@ test_env_ringer = [ 'LD_PRELOAD=@0@/mock/lfb/libfeedback-0.so'.format(meson.current_build_dir()), ] + test_env -cmocka = dependency ('cmocka', required: false) +test_sources = [ + 'mock-call.c', 'mock-call.h', 'mock-libfeedback.h', + 'test-ringer.c' +] -if cmocka.found () - test_sources = [ - 'mock-call.c', 'mock-call.h', 'mock-libfeedback.h', - 'test-ringer.c' - ] - - t = executable('ringer', test_sources, - c_args : test_cflags, - link_args: mock_link_args, - pie: true, - link_with : [calls_vala, libcalls], - dependencies: [calls_deps, cmocka], - include_directories : [ - calls_includes, - ] - ) - test('ringer', t, env: test_env_ringer) -endif +t = executable('ringer', test_sources, + c_args : test_cflags, + link_args: mock_link_args, + pie: true, + link_with : [calls_vala, libcalls], + dependencies: calls_deps, + include_directories : [ + calls_includes, + ] + ) +test('ringer', t, env: test_env_ringer) test_sources = [ 'test-contacts.c' ] t = executable('contacts', test_sources,