diff test/automated/Makefile @ 3730:dafd796f0c95 gsoc2009_unit_tests

* Added preliminary render tests, missing some SDL functions to work properly.
author Edgar Simo <bobbens@gmail.com>
date Sun, 12 Jul 2009 12:05:28 +0000
parents 97e9704fc267
children e552b7acd45a
line wrap: on
line diff
--- a/test/automated/Makefile	Sun Jul 12 11:18:59 2009 +0000
+++ b/test/automated/Makefile	Sun Jul 12 12:05:28 2009 +0000
@@ -10,7 +10,7 @@
 COMMON_SRC     := SDL_at.c common/common.c
 COMMON_INCLUDE := SDL_at.h
 
-TESTS_ALL := rwops/rwops surface/surface
+TESTS_ALL := rwops/rwops surface/surface render/render
 
 
 .PHONY: all clean test
@@ -21,6 +21,7 @@
 test: all
 	@./rwops/rwops
 	@./surface/surface
+	@./render/render
 
 rwops/rwops: rwops/rwops.c $(COMMON_INCLUDE)
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ rwops/rwops.c $(COMMON_SRC)
@@ -28,5 +29,8 @@
 surface/surface: surface/surface.c $(COMMON_INCLUDE)
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ surface/surface.c $(COMMON_SRC)
 
+render/render: render/render.c $(COMMON_INCLUDE)
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ render/render.c $(COMMON_SRC)
+
 clean:
 	$(RM) $(TESTS_ALL)