summaryrefslogtreecommitdiff
path: root/tests/port/GNUmakefile
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-02-16 17:03:31 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-02-16 17:03:31 +0100
commita10602d7b29336460e50bd50d683321595f0aada (patch)
tree0e7d50881d57cc807e27d3d25335f4d02635c33f /tests/port/GNUmakefile
parentee34e214a4f35439885fc797dd84bbf8f629c20e (diff)
downloadwolfbones-a10602d7b29336460e50bd50d683321595f0aada.tar.gz
wolfbones-a10602d7b29336460e50bd50d683321595f0aada.tar.bz2
strerror_r tests shows how we can leave libwolf.a sane and test the original and the stub function
Diffstat (limited to 'tests/port/GNUmakefile')
-rw-r--r--tests/port/GNUmakefile17
1 files changed, 14 insertions, 3 deletions
diff --git a/tests/port/GNUmakefile b/tests/port/GNUmakefile
index d0af3cd..0d4f0bb 100644
--- a/tests/port/GNUmakefile
+++ b/tests/port/GNUmakefile
@@ -1,6 +1,14 @@
TOPDIR = ../..
-BINS =
+INCLUDE_LIBS = \
+ $(TOPDIR)/src/libwolf.a
+
+INCLUDE_DIRS = \
+ -I$(TOPDIR)/include/wolf -I. -I$(TOPDIR)/src
+
+BINS = \
+ test_strdup \
+ test_strerror_r
-include $(TOPDIR)/makefiles/sub.mk
@@ -10,5 +18,8 @@ local_clean:
local_distclean:
-local_test:
-
+local_test: all
+ @echo "Testing strdup.."
+ @./test_strdup
+ @echo "Testing strerror_r..."
+ @./test_strerror_r