linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Modifying Makefile.am to facilitate test-adv-monitor and future unit tests.
@ 2020-09-18 19:38 Miao-chen Chou
  2020-09-18 22:12 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 7+ messages in thread
From: Miao-chen Chou @ 2020-09-18 19:38 UTC (permalink / raw)
  To: Bluetooth Kernel Mailing List, Marcel Holtmann, Luiz Augusto von Dentz
  Cc: Alain Michaud, Manish Mandlik, Howard Chung, Abhishek Pandit-Subedi

Hi Luiz and Marcel,

Unlike the rest of the existing unit tests in BlueZ, the logic blocks
tested in test-adv-monitor require dependencies of not only
src/adv_monitor.c but also all the dependency tree of
src/adv_monitor.c. The current convention in Makefile.am is to add all
the extra dependencies one by one. However, the maintenance cost is
high and not suitable in the case of test-adv-monitor. Therefore, we'd
like to propose changes in Makefile.am to make the source of
bluetoothd as a static library and link it for bluetoothd target and
the unit test target. It would be great if you can provide feedback on
this idea before the implementation. Thanks in advance!

Regards,
Miao

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-09-28 17:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-18 19:38 Modifying Makefile.am to facilitate test-adv-monitor and future unit tests Miao-chen Chou
2020-09-18 22:12 ` Luiz Augusto von Dentz
2020-09-21 19:20   ` Miao-chen Chou
2020-09-22  1:43     ` Luiz Augusto von Dentz
2020-09-24 20:44       ` Miao-chen Chou
2020-09-24 21:18         ` Luiz Augusto von Dentz
2020-09-28 17:07           ` Miao-chen Chou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).