Commit cdd56f17 authored by Markus Kauppila's avatar Markus Kauppila

Added empty test suite for render tests.

parent 4ae611f9
ACLOCAL_AMFLAGS = -I acinclude -I build-scripts
SUBDIRS = testdummy testrect testplatform testaudio testsurface testrwops
SUBDIRS = testdummy testrect testplatform testaudio testsurface testrwops testrender
runnerdir = .
bin_PROGRAMS = runner
......
......@@ -16,7 +16,7 @@ elif [[ $PLATFORM == "Darwin" ]]; then
fi
# TODO: put the test in an array
for suite in "testdummy" "testplatform" "testrect" "testaudio" "testsurface" "testrwops"
for suite in "testdummy" "testplatform" "testrect" "testaudio" "testsurface" "testrwops" "testrender"
do
cp -f "$suite/.libs/lib$suite.$EXT" $DIRECTORY
done
......
......@@ -38,7 +38,9 @@ AC_CONFIG_FILES([Makefile
testplatform/Makefile
testaudio/Makefile
testsurface/Makefile
testrwops/Makefile])
testrwops/Makefile
testrender/Makefile])
AC_OUTPUT
echo ""
......
lib_LTLIBRARIES = libtestrender.la
libtestrender_la_SOURCES = testrender.c
libtestrender_la_CLAGS = -fPIC -g
libtestrender_la_LDFLAGS = `sdl-config --libs` -I ../.libs/libtest.la
/**
* Original code: automated SDL platform test written by Edgar Simo "bobbens"
* Extended and updated by aschiffler at ferzkopp dot net
*/
#include <stdio.h>
#include <SDL/SDL.h>
#include "../SDL_test.h"
/*!
* Note: Port tests from "/test/automated/render" here
*
*/
/* Test cases */
static const TestCaseReference test1 =
(TestCaseReference){ "render_test", "rendery", TEST_ENABLED, 0, 0 };
/* Test suite */
extern const TestCaseReference *testSuite[] = {
&test1, NULL
};
TestCaseReference **QueryTestSuite() {
return (TestCaseReference **)testSuite;
}
/**
* @brief Document test case here
*/
int
render_test(void *arg)
{
AssertPass("");
}
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