From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH 2/2] build: add support for test-rilmodem-sms
Date: Tue, 17 Nov 2015 21:31:09 -0600 [thread overview]
Message-ID: <564BF0FD.9000007@gmail.com> (raw)
In-Reply-To: <1447811116-11970-3-git-send-email-espy@canonical.com>
[-- Attachment #1: Type: text/plain, Size: 1592 bytes --]
Hi Tony,
On 11/17/2015 07:45 PM, Tony Espy wrote:
> ---
> Makefile.am | 14 +++++++++++++-
> 1 file changed, 13 insertions(+), 1 deletion(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index fba25ba..1cdfc1f 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -740,7 +740,8 @@ unit_objects =
> unit_tests = unit/test-common unit/test-util unit/test-idmap \
> unit/test-simutil unit/test-stkutil \
> unit/test-sms unit/test-cdmasms \
> - unit/test-rilmodem-cs
> + unit/test-rilmodem-cs \
> + unit/test-rilmodem-sms
>
> noinst_PROGRAMS = $(unit_tests) \
> unit/test-sms-root unit/test-mux unit/test-caif
> @@ -801,6 +802,17 @@ unit_test_rilmodem_cs_LDADD = gdbus/libgdbus-internal.la $(builtin_libadd) \
> @GLIB_LIBS@ @DBUS_LIBS@ -ldl
> unit_objects += $(unit_test_rilmodem_cs_OBJECTS)
>
> +unit_test_rilmodem_sms_SOURCES = unit/test-rilmodem-sms.c $(gril_sources) \
> + src/log.c src/common.c src/util.c \
> + gatchat/ringbuffer.h gatchat/ringbuffer.c \
> + drivers/rilmodem/sms.c \
> + unit/rilmodem-test-server.h \
> + unit/rilmodem-test-server.c \
> + src/simutil.c
Can the files common to the ril unit tests be assigned to a variable? I
count at least 8 files that are shared between rilmodem_sms &
rilmodem_cs. Lets keep duplication to a minimum.
> +unit_test_rilmodem_sms_LDADD = gdbus/libgdbus-internal.la $(builtin_libadd) \
> + @GLIB_LIBS@ @DBUS_LIBS@ -ldl
> +unit_objects += $(unit_test_rilmodem_sms_OBJECTS)
> +
> TESTS = $(unit_tests)
>
> if TOOLS
>
Regards,
-Denis
next prev parent reply other threads:[~2015-11-18 3:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-18 1:45 [PATCH 0/2] New rilmodem sms test Tony Espy
2015-11-18 1:45 ` [PATCH 1/2] unit: add new test-rilmodem-sms Tony Espy
2015-11-18 3:28 ` Denis Kenzior
2015-11-18 1:45 ` [PATCH 2/2] build: add support for test-rilmodem-sms Tony Espy
2015-11-18 3:31 ` Denis Kenzior [this message]
[not found] <1447810524-11752-1-git-send-email-espy@canonical.com>
2015-11-18 1:35 ` Tony Espy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=564BF0FD.9000007@gmail.com \
--to=denkenz@gmail.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox