Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
9d6bf7e7
Commit
9d6bf7e7
authored
Feb 24, 2021
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test/run_avahi: refactor to RunZeroconf (both avahi and bonjour)
parent
5f34508a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
RunZeroconf.cxx
test/RunZeroconf.cxx
+2
-2
meson.build
test/meson.build
+3
-3
No files found.
test/
run_avahi
.cxx
→
test/
RunZeroconf
.cxx
View file @
9d6bf7e7
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
#include "event/Loop.hxx"
#include "event/Loop.hxx"
#include "ShutdownHandler.hxx"
#include "ShutdownHandler.hxx"
#include "zeroconf/
avahi/
Helper.hxx"
#include "zeroconf/Helper.hxx"
#include <stdlib.h>
#include <stdlib.h>
...
@@ -29,7 +29,7 @@ main([[maybe_unused]] int argc, [[maybe_unused]] char **argv)
...
@@ -29,7 +29,7 @@ main([[maybe_unused]] int argc, [[maybe_unused]] char **argv)
EventLoop
event_loop
;
EventLoop
event_loop
;
const
ShutdownHandler
shutdown_handler
(
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
();
event_loop
.
Run
();
...
...
test/meson.build
View file @
9d6bf7e7
...
@@ -105,10 +105,10 @@ test('TestIcu', executable(
...
@@ -105,10 +105,10 @@ test('TestIcu', executable(
],
],
))
))
if
avahi
_dep.found()
if
zeroconf
_dep.found()
executable(
executable(
'
run_avahi
',
'
RunZeroconf
',
'
run_avahi
.cxx',
'
RunZeroconf
.cxx',
'ShutdownHandler.cxx',
'ShutdownHandler.cxx',
include_directories: inc,
include_directories: inc,
dependencies: [
dependencies: [
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment