diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-02-16 17:03:31 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-02-16 17:03:31 +0100 |
commit | a10602d7b29336460e50bd50d683321595f0aada (patch) | |
tree | 0e7d50881d57cc807e27d3d25335f4d02635c33f /tests/port/GNUmakefile | |
parent | ee34e214a4f35439885fc797dd84bbf8f629c20e (diff) | |
download | wolfbones-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/GNUmakefile | 17 |
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 |