mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-22 14:55:28 +00:00
test: Don't distinguish between different categories of tests
It's reasonable to assume that any of them might need a display and an audio backend. We run them with SDL_VIDEODRIVER and SDL_AUDIODRIVER set to dummy anyway. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
237535b23a
commit
4cb43db1a9
|
@ -95,7 +95,7 @@ installedtestsmetadir = $(datadir)/installed-tests/SDL2
|
|||
|
||||
generatetestmeta:
|
||||
rm -f *.test
|
||||
set -e; for exe in $(noninteractive) $(needs_audio) $(needs_display); do \
|
||||
set -e; for exe in $(TESTS); do \
|
||||
sed \
|
||||
-e 's#@installedtestsdir@#$(installedtestsdir)#g' \
|
||||
-e "s#@exe@#$$exe#g" \
|
||||
|
@ -386,8 +386,11 @@ distclean: clean
|
|||
rm -f config.status config.cache config.log
|
||||
rm -rf $(srcdir)/autom4te*
|
||||
|
||||
noninteractive = \
|
||||
TESTS = \
|
||||
testatomic$(EXE) \
|
||||
testaudioinfo$(EXE) \
|
||||
testbounds$(EXE) \
|
||||
testdisplayinfo$(EXE) \
|
||||
testerror$(EXE) \
|
||||
testevdev$(EXE) \
|
||||
testfilesystem$(EXE) \
|
||||
|
@ -396,23 +399,12 @@ noninteractive = \
|
|||
testplatform$(EXE) \
|
||||
testpower$(EXE) \
|
||||
testqsort$(EXE) \
|
||||
testsurround$(EXE) \
|
||||
testthread$(EXE) \
|
||||
testtimer$(EXE) \
|
||||
testver$(EXE) \
|
||||
$(NULL)
|
||||
|
||||
needs_audio = \
|
||||
testaudioinfo$(EXE) \
|
||||
testsurround$(EXE) \
|
||||
$(NULL)
|
||||
|
||||
needs_display = \
|
||||
testbounds$(EXE) \
|
||||
testdisplayinfo$(EXE) \
|
||||
$(NULL)
|
||||
|
||||
TESTS = $(noninteractive) $(needs_audio) $(needs_display)
|
||||
|
||||
check:
|
||||
@set -e; \
|
||||
status=0; \
|
||||
|
|
Loading…
Reference in a new issue