Commit 685e5773 authored by Daniel Vetter's avatar Daniel Vetter

Move library selftests to lib/tests

Again they're not really igt testcases so are in the way of
running spatch unconditionally. Move them someplace else.
Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 9d6a2cac
......@@ -216,6 +216,7 @@ AC_CONFIG_FILES([
docs/reference/intel-gpu-tools/Makefile
docs/reference/intel-gpu-tools/version.xml
lib/Makefile
lib/tests/Makefile
man/Makefile
scripts/Makefile
tests/Makefile
......
IGT_LIB_PATH := $(builddir)
GPU_TOOLS_PATH := $(top_srcdir)
SUBDIRS = tests
include Makefile.sources
noinst_LTLIBRARIES = libintel_tools.la
......
# Please keep sorted alphabetically
igt_fork_helper
igt_list_only
igt_no_exit
igt_no_exit_list_only
igt_no_subtest
igt_simulation
include Makefile.sources
EXTRA_PROGRAMS = $(TESTS_testsuite)
EXTRA_DIST = $(TESTS_scripts)
CLEANFILES = $(EXTRA_PROGRAMS)
AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) \
-I$(srcdir)/../.. \
-I$(srcdir)/.. \
-include "$(srcdir)/../../lib/check-ndebug.h" \
-DIGT_DATADIR=\""$(abs_srcdir)"\" \
$(NULL)
LDADD = ../libintel_tools.la $(PCIACCESS_LIBS) $(DRM_LIBS)
LDADD += $(CAIRO_LIBS) $(LIBUDEV_LIBS) $(GLIB_LIBS)
AM_CFLAGS += $(CAIRO_CFLAGS) $(LIBUDEV_CFLAGS) $(GLIB_CFLAGS)
noinst_PROGRAMS = \
$(TESTS_testsuite) \
$(NULL)
TESTS_testsuite = \
igt_no_exit \
igt_no_exit_list_only \
igt_fork_helper \
igt_list_only \
igt_no_subtest \
igt_simulation \
$(NULL)
TESTS_testsuite_scripts = \
igt_command_line.sh \
$(NULL)
TESTS = \
$(TESTS_testsuite) \
$(TESTS_testsuite_scripts) \
$(NULL)
# Test that exercise specific asserts in the test framework library and are
# hence expected to fail.
XFAIL_TESTS = \
igt_no_exit \
igt_no_exit_list_only \
igt_no_subtest \
$(NULL)
......@@ -112,12 +112,6 @@ gen3_render_mixed_blits
gen3_render_tiledx_blits
gen3_render_tiledy_blits
gen7_forcewake_mt
igt_fork_helper
igt_list_only
igt_no_exit
igt_no_exit_list_only
igt_no_subtest
igt_simulation
kms_3d
kms_addfb
kms_cursor_crc
......
......@@ -27,8 +27,8 @@ multi-tests.txt: Makefile.sources
@echo ${multi_kernel_tests} >> $@
@echo END TESTLIST >> $@
EXTRA_PROGRAMS = $(TESTS_progs) $(TESTS_progs_M) $(HANG) $(TESTS_testsuite)
EXTRA_DIST = $(TESTS_scripts) $(TESTS_scripts_M) $(scripts) $(IMAGES) $(common_files)
EXTRA_PROGRAMS = $(TESTS_progs) $(TESTS_progs_M) $(HANG)
EXTRA_DIST = $(TESTS_scripts_M) $(scripts) $(IMAGES) $(common_files)
CLEANFILES = $(EXTRA_PROGRAMS) single-tests.txt multi-tests.txt
......
......@@ -191,24 +191,6 @@ kernel_tests = \
$(multi_kernel_tests) \
$(NULL)
TESTS_testsuite = \
igt_no_exit \
igt_no_exit_list_only \
igt_fork_helper \
igt_list_only \
igt_no_subtest \
igt_simulation \
$(NULL)
TESTS_testsuite_scripts = \
igt_command_line.sh \
$(NULL)
TESTS = \
$(TESTS_testsuite) \
$(TESTS_testsuite_scripts) \
$(NULL)
# Test that exercise specific asserts in the test framework library and are
# hence expected to fail.
XFAIL_TESTS = \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment