Added the automation test to the autoconf build system
--HG-- rename : test/tests/testclipboard.c => test/testautomation_clipboard.c rename : test/tests/testplatform.c => test/testautomation_platform.c rename : test/tests/testrect.c => test/testautomation_rect.c rename : test/tests/testrender.c => test/testautomation_render.c rename : test/tests/testrwops.c => test/testautomation_rwops.c rename : test/tests/testsuites.h => test/testautomation_suites.h
This commit is contained in:
parent
b11f967898
commit
fff2381298
8 changed files with 10 additions and 1 deletions
|
@ -11,6 +11,7 @@ TARGETS = \
|
||||||
checkkeys$(EXE) \
|
checkkeys$(EXE) \
|
||||||
loopwave$(EXE) \
|
loopwave$(EXE) \
|
||||||
testaudioinfo$(EXE) \
|
testaudioinfo$(EXE) \
|
||||||
|
testautomation$(EXE) \
|
||||||
testdraw2$(EXE) \
|
testdraw2$(EXE) \
|
||||||
testerror$(EXE) \
|
testerror$(EXE) \
|
||||||
testfile$(EXE) \
|
testfile$(EXE) \
|
||||||
|
@ -67,6 +68,14 @@ testresample$(EXE): $(srcdir)/testresample.c
|
||||||
testaudioinfo$(EXE): $(srcdir)/testaudioinfo.c
|
testaudioinfo$(EXE): $(srcdir)/testaudioinfo.c
|
||||||
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
|
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
|
||||||
|
|
||||||
|
testautomation$(EXE): $(srcdir)/testautomation.c \
|
||||||
|
$(srcdir)/testautomation_clipboard.c \
|
||||||
|
$(srcdir)/testautomation_platform.c \
|
||||||
|
$(srcdir)/testautomation_rect.c \
|
||||||
|
$(srcdir)/testautomation_render.c \
|
||||||
|
$(srcdir)/testautomation_rwops.c
|
||||||
|
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) -lSDL2_test
|
||||||
|
|
||||||
testmultiaudio$(EXE): $(srcdir)/testmultiaudio.c
|
testmultiaudio$(EXE): $(srcdir)/testmultiaudio.c
|
||||||
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
|
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#include "SDL.h"
|
#include "SDL.h"
|
||||||
#include "SDL_test.h"
|
#include "SDL_test.h"
|
||||||
|
|
||||||
#include "tests/testsuites.h"
|
#include "testautomation_suites.h"
|
||||||
|
|
||||||
static SDLTest_CommonState *state;
|
static SDLTest_CommonState *state;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue