Diff between 0bcf025146ea7259a19f7e75ab4df46c97f17d23 and d6943b94c75f34334dbab32bb49cf8940e8bd66c

Changed Files

File Additions Deletions Status
android/tester-main.c +8 -0 modified

Full Patch

diff --git a/android/tester-main.c b/android/tester-main.c
index 8a1f6ed..f5bcb1c 100644
--- a/android/tester-main.c
+++ b/android/tester-main.c
@@ -376,6 +376,14 @@ static int verify_property(bt_property_t *exp_props, int exp_num_props,
 		}
 	}
 
+	if ((i == 0) && exp_props) {
+		tester_warn("No property was verified: %s", exp_num_props ?
+				"unknown error!" :
+				"wrong \'.callback_result.num_properties\'?");
+
+		return 1;
+	}
+
 	return exp_prop_to_find;
 }