diff options
author | Michael Janssen <jamuraa@chromium.org> | 2014-10-31 11:14:59 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2014-11-03 17:17:12 +0200 |
commit | 46d35351cce71fc2873921628c159b3f9bf5069d (patch) | |
tree | 2fa6e907b83d10f7cadb7d2a74234616f292e4c7 /unit/test-gattrib.c | |
parent | 90a8d80f8f53b239875235d5b30e7d5ff1c1288a (diff) | |
download | bluez-46d35351cce71fc2873921628c159b3f9bf5069d.tar.gz |
unit/gattrib: Only init log on --verbose
Diffstat (limited to 'unit/test-gattrib.c')
-rw-r--r-- | unit/test-gattrib.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |