Diff between 90a8d80f8f53b239875235d5b30e7d5ff1c1288a and 46d35351cce71fc2873921628c159b3f9bf5069d

Changed Files

File Additions Deletions Status
unit/test-gattrib.c +2 -1 modified

Full Patch

diff --git a/unit/test-gattrib.c b/unit/test-gattrib.c
index dcc59ce..9ced45c 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