Skip to content

Commit 0a752aa

Browse files
committed
tests: remove macOS specific code in fakegv
Now we are sending discovery packet on interface broadcats address.
1 parent 07054e5 commit 0a752aa

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/fakegv.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -231,12 +231,7 @@ main (int argc, char *argv[])
231231
simulator = arv_gv_fake_camera_new ("127.0.0.1", "GVTest");
232232
g_assert (ARV_IS_GV_FAKE_CAMERA (simulator));
233233

234-
#if !defined(__APPLE__)
235234
camera = arv_camera_new ("Aravis-GVTest", NULL);
236-
#else
237-
/* Broadcast listening on 127.0.0.1 does not work on macOS, instantiate the camera by IP.*/
238-
camera = arv_camera_new ("127.0.0.1", NULL);
239-
#endif
240235
g_assert (ARV_IS_CAMERA (camera));
241236

242237
g_test_add_func ("/fakegv/device_registers", register_test);

0 commit comments

Comments
 (0)