Little fixes here and there.
This commit is contained in:
parent
ff1e17dca4
commit
86738f81ab
5 changed files with 18 additions and 21 deletions
|
@ -1,8 +1,9 @@
|
|||
lib_LTLIBRARIES = libtest.la
|
||||
libtest_la_SOURCES = test.c sdl_test.c
|
||||
libtest_la_SOURCES = test.c SDL_test.c
|
||||
libtest_la_CLAGS = -fPIC -g
|
||||
libtest_la_LDFLAGS = `sdl-config --libs`
|
||||
|
||||
distclean-local:
|
||||
rm *.dylib
|
||||
-rm *.dylib
|
||||
-rm *.so
|
||||
|
||||
|
|
|
@ -24,10 +24,10 @@
|
|||
#include <SDL/SDL.h>
|
||||
|
||||
typedef struct TestCaseReference {
|
||||
int enabled; /* Set to TEST_ENABLED or TEST_DISABLED */
|
||||
long requirements; /* Set to TEST_REQUIRES_OPENGL, TEST_REQUIRES_AUDIO, ... */
|
||||
char *name; /* "Func2Stress" */
|
||||
char *description; /* "This test beats the crap out of func2()" */
|
||||
int enabled; /* Set to TEST_ENABLED or TEST_DISABLED */
|
||||
long requirements; /* Set to TEST_REQUIRES_OPENGL, TEST_REQUIRES_AUDIO, ... */
|
||||
} TestCaseReference;
|
||||
|
||||
void TestInit();
|
||||
|
|
|
@ -27,13 +27,6 @@
|
|||
|
||||
#include "SDL_test.h"
|
||||
|
||||
/*
|
||||
TestCaseReference references[] = {
|
||||
{.name = "hello", .description = "desc", .enabled = 1, .requirements = 0 }
|
||||
};
|
||||
*/
|
||||
|
||||
|
||||
TestCaseReference *references[] = {
|
||||
{"hello", "description", 1, 0},
|
||||
{"hello2", "description", 1, 0},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue