From fd87d24de3adfd160220a7782f68cb000cffe0c8 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 22 Dec 2012 17:24:42 -0800 Subject: [PATCH] Added the automation test to the autoconf build system --- test/Makefile.in | 9 +++++++++ test/testautomation.c | 2 +- .../testclipboard.c => testautomation_clipboard.c} | 0 test/{tests/testplatform.c => testautomation_platform.c} | 0 test/{tests/testrect.c => testautomation_rect.c} | 0 test/{tests/testrender.c => testautomation_render.c} | 0 test/{tests/testrwops.c => testautomation_rwops.c} | 0 test/{tests/testsuites.h => testautomation_suites.h} | 0 8 files changed, 10 insertions(+), 1 deletion(-) rename test/{tests/testclipboard.c => testautomation_clipboard.c} (100%) rename test/{tests/testplatform.c => testautomation_platform.c} (100%) rename test/{tests/testrect.c => testautomation_rect.c} (100%) rename test/{tests/testrender.c => testautomation_render.c} (100%) rename test/{tests/testrwops.c => testautomation_rwops.c} (100%) rename test/{tests/testsuites.h => testautomation_suites.h} (100%) diff --git a/test/Makefile.in b/test/Makefile.in index 3a04c8e58..aef9b19ab 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -11,6 +11,7 @@ TARGETS = \ checkkeys$(EXE) \ loopwave$(EXE) \ testaudioinfo$(EXE) \ + testautomation$(EXE) \ testdraw2$(EXE) \ testerror$(EXE) \ testfile$(EXE) \ @@ -67,6 +68,14 @@ testresample$(EXE): $(srcdir)/testresample.c testaudioinfo$(EXE): $(srcdir)/testaudioinfo.c $(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 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) diff --git a/test/testautomation.c b/test/testautomation.c index 5c1d68186..160d9f9db 100644 --- a/test/testautomation.c +++ b/test/testautomation.c @@ -17,7 +17,7 @@ #include "SDL.h" #include "SDL_test.h" -#include "tests/testsuites.h" +#include "testautomation_suites.h" static SDLTest_CommonState *state; diff --git a/test/tests/testclipboard.c b/test/testautomation_clipboard.c similarity index 100% rename from test/tests/testclipboard.c rename to test/testautomation_clipboard.c diff --git a/test/tests/testplatform.c b/test/testautomation_platform.c similarity index 100% rename from test/tests/testplatform.c rename to test/testautomation_platform.c diff --git a/test/tests/testrect.c b/test/testautomation_rect.c similarity index 100% rename from test/tests/testrect.c rename to test/testautomation_rect.c diff --git a/test/tests/testrender.c b/test/testautomation_render.c similarity index 100% rename from test/tests/testrender.c rename to test/testautomation_render.c diff --git a/test/tests/testrwops.c b/test/testautomation_rwops.c similarity index 100% rename from test/tests/testrwops.c rename to test/testautomation_rwops.c diff --git a/test/tests/testsuites.h b/test/testautomation_suites.h similarity index 100% rename from test/tests/testsuites.h rename to test/testautomation_suites.h