Commit 9d6bf7e7 authored by Max Kellermann's avatar Max Kellermann

test/run_avahi: refactor to RunZeroconf (both avahi and bonjour)

parent 5f34508a
......@@ -19,7 +19,7 @@
#include "event/Loop.hxx"
#include "ShutdownHandler.hxx"
#include "zeroconf/avahi/Helper.hxx"
#include "zeroconf/Helper.hxx"
#include <stdlib.h>
......@@ -29,7 +29,7 @@ main([[maybe_unused]] int argc, [[maybe_unused]] char **argv)
EventLoop event_loop;
const ShutdownHandler shutdown_handler(event_loop);
const auto helper = AvahiInit(event_loop, "test", 1234);
const ZeroconfHelper helper(event_loop, "test", 1234);
event_loop.Run();
......
......@@ -105,10 +105,10 @@ test('TestIcu', executable(
],
))
if avahi_dep.found()
if zeroconf_dep.found()
executable(
'run_avahi',
'run_avahi.cxx',
'RunZeroconf',
'RunZeroconf.cxx',
'ShutdownHandler.cxx',
include_directories: inc,
dependencies: [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment