summaryrefslogtreecommitdiff
path: root/tests/kms_3d.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2015-11-15 14:24:46 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2015-11-16 15:42:22 +0200
commitcba86e980f60b1e15f6a59c8fa60fa54288361da (patch)
tree4772b2b28b33a2e62b673626c61ad53a8fc4ae31 /tests/kms_3d.c
parente42936d86b52c6804da41755df7155cafded5eb2 (diff)
tests/kms_3d: Use igt_assert_eq()
Would be nice to see how many stereo modes we managed to extract from the EDID if it doesn't match the expected 13. So use igt_assert_eq() which prints the real count on failure. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tests/kms_3d.c')
-rw-r--r--tests/kms_3d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_3d.c b/tests/kms_3d.c
index 7484940f..de923ede 100644
--- a/tests/kms_3d.c
+++ b/tests/kms_3d.c
@@ -72,7 +72,7 @@ igt_simple_main
mode_count++;
}
- igt_assert(mode_count == 13);
+ igt_assert_eq(mode_count, 13);
/* set 3D modes */
igt_info("Testing:\n");