Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Moved tests/SDL_test.{c,h}
Browse files Browse the repository at this point in the history
  • Loading branch information
mkauppila committed May 30, 2011
1 parent 0e628a7 commit dbd3372
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion test/test-automation/Makefile.am
Expand Up @@ -3,7 +3,7 @@ ACLOCAL_AMFLAGS = -I acinclude -I build-scripts
SUBDIRS = tests

bin_PROGRAMS = runner
runner_SOURCES = runner.c tests/SDL_test.c
runner_SOURCES = runner.c SDL_test.c
runner_CLAGS = -W -Wall -Wextra -g `sdl-config --cflags` -DSDL_NO_COMPAT
runner_LDFLAGS = `sdl-config --libs`

Expand All @@ -12,4 +12,7 @@ install-tests:
-cp -f tests/.libs/*.dylib tests/ 2> /dev/null
-cp -f tests/.libs/*.so tests/ 2> /dev/null

distclean-local:
-rm -Rf docs/


File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/test-automation/runner.c
Expand Up @@ -25,7 +25,7 @@
#include <unistd.h>
#include <sys/types.h>

#include "tests/SDL_test.h"
#include "SDL_test.h"

//!< Function pointer to a test case function
typedef int (*TestCase)(void *arg);
Expand Down
2 changes: 1 addition & 1 deletion test/test-automation/tests/Makefile.am
@@ -1,5 +1,5 @@
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`

Expand Down
2 changes: 1 addition & 1 deletion test/test-automation/tests/test.c
Expand Up @@ -25,7 +25,7 @@

#include <SDL/SDL.h>

#include "SDL_test.h"
#include "../SDL_test.h"

/* Test cases */
static const TestCaseReference test1 =
Expand Down

0 comments on commit dbd3372

Please sign in to comment.