summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2015-08-13 13:12:06 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2015-08-14 09:27:33 -0700
commitec4b76872d232faa7846e7c201e7fcfc98c682a9 (patch)
treeb5928a87e624331075a637101ef7098559ff7033 /tests
parent503420944d7359ea280f6445186bedcdfaceb698 (diff)
tests/kms_addfb: mark simple fb creation tests as basic v2
We should always be able to create simple and tiled objects. v2: make the whole test basic (Daniel) add to .gitignore Reviewed-by: Daniel Vetter <daniel@ffwll.ch> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/.gitignore2
-rw-r--r--tests/Makefile.sources2
-rw-r--r--tests/kms_addfb_basic.c (renamed from tests/kms_addfb.c)6
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/.gitignore b/tests/.gitignore
index 25363c0d..d6d05ff1 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -128,7 +128,7 @@ gen3_render_tiledx_blits
gen3_render_tiledy_blits
gen7_forcewake_mt
kms_3d
-kms_addfb
+kms_addfb_basic
kms_crtc_background_color
kms_cursor_crc
kms_draw_crc
diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index 4296829a..ef69299f 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -62,7 +62,7 @@ TESTS_progs_M = \
gem_tiled_partial_pwrite_pread \
gem_userptr_blits \
gem_write_read_ring_switch \
- kms_addfb \
+ kms_addfb_basic \
kms_cursor_crc \
kms_draw_crc \
kms_fbc_crc \
diff --git a/tests/kms_addfb.c b/tests/kms_addfb_basic.c
index 42ee6328..f10e12bc 100644
--- a/tests/kms_addfb.c
+++ b/tests/kms_addfb_basic.c
@@ -121,7 +121,7 @@ static void pitch_tests(int fd)
}
f.handles[0] = gem_bo;
- igt_subtest("normal") {
+ igt_subtest("basic") {
igt_assert(drmIoctl(fd, DRM_IOCTL_MODE_ADDFB2, &f) == 0);
igt_assert(drmIoctl(fd, DRM_IOCTL_MODE_RMFB, &f.fb_id) == 0);
f.fb_id = 0;
@@ -139,7 +139,7 @@ static void pitch_tests(int fd)
gem_set_tiling(fd, gem_bo, I915_TILING_X, 1024*4);
f.pitches[0] = 1024*4;
- igt_subtest("X-tiled") {
+ igt_subtest("basic-X-tiled") {
igt_assert(drmIoctl(fd, DRM_IOCTL_MODE_ADDFB2, &f) == 0);
igt_assert(drmIoctl(fd, DRM_IOCTL_MODE_RMFB, &f.fb_id) == 0);
f.fb_id = 0;
@@ -162,7 +162,7 @@ static void pitch_tests(int fd)
igt_fixture
gem_set_tiling(fd, gem_bo, I915_TILING_Y, 1024*4);
f.pitches[0] = 1024*4;
- igt_subtest("Y-tiled") {
+ igt_subtest("basic-Y-tiled") {
igt_assert(drmIoctl(fd, DRM_IOCTL_MODE_ADDFB2, &f) == -1 &&
errno == EINVAL);
}