From 46d35351cce71fc2873921628c159b3f9bf5069d Mon Sep 17 00:00:00 2001 From: Michael Janssen Date: Fri, 31 Oct 2014 11:14:59 -0700 Subject: [PATCH] unit/gattrib: Only init log on --verbose --- unit/test-gattrib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unit/test-gattrib.c b/unit/test-gattrib.c index dcc59cefc..9ced45ccc 100644 --- a/unit/test-gattrib.c +++ b/unit/test-gattrib.c @@ -557,7 +557,8 @@ int main(int argc, char *argv[]) { g_test_init(&argc, &argv, NULL); - __btd_log_init("*", 0); + if (g_test_verbose()) + __btd_log_init("*", 0); /* * Test the GAttrib API behavior -- 2.47.3