mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 21:32:56 +00:00
tests: create a single combined test list
All tests now respond in a consistent way such that separate lists for tests with and without subtests are no longer necessary. v2: fix other references to the test list Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
+4
-19
@@ -5,26 +5,11 @@ if HAVE_NOUVEAU
|
||||
endif
|
||||
|
||||
if BUILD_TESTS
|
||||
all-local: single-tests.txt multi-tests.txt
|
||||
all-local: test-list.txt
|
||||
|
||||
list-single-tests:
|
||||
@echo TESTLIST
|
||||
@echo ${single_kernel_tests}
|
||||
@echo END TESTLIST
|
||||
|
||||
list-multi-tests:
|
||||
@echo TESTLIST
|
||||
@echo ${multi_kernel_tests}
|
||||
@echo END TESTLIST
|
||||
|
||||
single-tests.txt: Makefile.sources
|
||||
test-list.txt: Makefile.sources
|
||||
@echo TESTLIST > $@
|
||||
@echo ${single_kernel_tests} >> $@
|
||||
@echo END TESTLIST >> $@
|
||||
|
||||
multi-tests.txt: Makefile.sources
|
||||
@echo TESTLIST > $@
|
||||
@echo ${multi_kernel_tests} >> $@
|
||||
@echo ${single_kernel_tests} ${multi_kernel_tests} >> $@
|
||||
@echo END TESTLIST >> $@
|
||||
|
||||
noinst_PROGRAMS = \
|
||||
@@ -52,7 +37,7 @@ dist_pkgdata_DATA = \
|
||||
EXTRA_PROGRAMS = $(HANG)
|
||||
EXTRA_DIST = $(common_files)
|
||||
|
||||
CLEANFILES = $(EXTRA_PROGRAMS) single-tests.txt multi-tests.txt
|
||||
CLEANFILES = $(EXTRA_PROGRAMS) test-list.txt
|
||||
|
||||
AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) $(DEBUG_CFLAGS)\
|
||||
-I$(srcdir)/.. \
|
||||
|
||||
Reference in New Issue
Block a user