Searched refs:TEST_ASSERT_VAL (Results 1 – 3 of 3) sorted by relevance
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
D | parse-events.c | 17 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->nr_entries); in test__checkevent_tracepoint() 18 TEST_ASSERT_VAL("wrong number of groups", 0 == evlist->nr_groups); in test__checkevent_tracepoint() 19 TEST_ASSERT_VAL("wrong type", PERF_TYPE_TRACEPOINT == evsel->attr.type); in test__checkevent_tracepoint() 20 TEST_ASSERT_VAL("wrong sample_type", in test__checkevent_tracepoint() 22 TEST_ASSERT_VAL("wrong sample_period", 1 == evsel->attr.sample_period); in test__checkevent_tracepoint() 30 TEST_ASSERT_VAL("wrong number of entries", evlist->nr_entries > 1); in test__checkevent_tracepoint_multi() 31 TEST_ASSERT_VAL("wrong number of groups", 0 == evlist->nr_groups); in test__checkevent_tracepoint_multi() 34 TEST_ASSERT_VAL("wrong type", in test__checkevent_tracepoint_multi() 36 TEST_ASSERT_VAL("wrong sample_type", in test__checkevent_tracepoint_multi() 38 TEST_ASSERT_VAL("wrong sample_period", in test__checkevent_tracepoint_multi() [all …]
|
D | dso-data.c | 102 TEST_ASSERT_VAL("No test file", file); in test__dso_data() 118 TEST_ASSERT_VAL("Wrong size", size == data->size); in test__dso_data() 119 TEST_ASSERT_VAL("Wrong data", !memcmp(buf, data->data, 10)); in test__dso_data() 129 TEST_ASSERT_VAL("ENOMEM\n", buf); in test__dso_data() 137 TEST_ASSERT_VAL("Wrong size", in test__dso_data() 141 TEST_ASSERT_VAL("Wrong data", in test__dso_data()
|
D | tests.h | 4 #define TEST_ASSERT_VAL(text, cond) \ macro
|