Commit 7fff64a1 authored by Markus Kauppila's avatar Markus Kauppila

Moved tests/SDL_test.{c,h}

--HG--
rename : test/test-automation/tests/SDL_test.c => test/test-automation/SDL_test.c
rename : test/test-automation/tests/SDL_test.h => test/test-automation/SDL_test.h
parent 5b6be642
...@@ -3,7 +3,7 @@ ACLOCAL_AMFLAGS = -I acinclude -I build-scripts ...@@ -3,7 +3,7 @@ ACLOCAL_AMFLAGS = -I acinclude -I build-scripts
SUBDIRS = tests SUBDIRS = tests
bin_PROGRAMS = runner 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_CLAGS = -W -Wall -Wextra -g `sdl-config --cflags` -DSDL_NO_COMPAT
runner_LDFLAGS = `sdl-config --libs` runner_LDFLAGS = `sdl-config --libs`
...@@ -12,4 +12,7 @@ install-tests: ...@@ -12,4 +12,7 @@ install-tests:
-cp -f tests/.libs/*.dylib tests/ 2> /dev/null -cp -f tests/.libs/*.dylib tests/ 2> /dev/null
-cp -f tests/.libs/*.so tests/ 2> /dev/null -cp -f tests/.libs/*.so tests/ 2> /dev/null
distclean-local:
-rm -Rf docs/
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <unistd.h> #include <unistd.h>
#include <sys/types.h> #include <sys/types.h>
#include "tests/SDL_test.h" #include "SDL_test.h"
//!< Function pointer to a test case function //!< Function pointer to a test case function
typedef int (*TestCase)(void *arg); typedef int (*TestCase)(void *arg);
......
lib_LTLIBRARIES = libtest.la 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_CLAGS = -fPIC -g
libtest_la_LDFLAGS = `sdl-config --libs` libtest_la_LDFLAGS = `sdl-config --libs`
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <SDL/SDL.h> #include <SDL/SDL.h>
#include "SDL_test.h" #include "../SDL_test.h"
/* Test cases */ /* Test cases */
static const TestCaseReference test1 = static const TestCaseReference test1 =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment