summaryrefslogtreecommitdiff
path: root/tests/port/test_strcasecmp.c
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-02-24 14:04:18 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-02-24 14:04:18 +0100
commitc8808247d13af4a326e69e9c81f8dbf9a62af610 (patch)
tree7fe13322fc0dc64894c448ebc393c0a9a73c726a /tests/port/test_strcasecmp.c
parentcac9269b115502071175436828c698d7cb4ddc5c (diff)
downloadwolfbones-c8808247d13af4a326e69e9c81f8dbf9a62af610.tar.gz
wolfbones-c8808247d13af4a326e69e9c81f8dbf9a62af610.tar.bz2
better testing: added TEST_ variables in makefiles, added TEST_<feature> macros in test_*.c for easier testing of stub functions
Diffstat (limited to 'tests/port/test_strcasecmp.c')
-rw-r--r--tests/port/test_strcasecmp.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/port/test_strcasecmp.c b/tests/port/test_strcasecmp.c
index fb17eed..48b2ed1 100644
--- a/tests/port/test_strcasecmp.c
+++ b/tests/port/test_strcasecmp.c
@@ -1,13 +1,7 @@
#include "port/sys.h"
-#ifdef HAVE_STRCASECMP
-#define SAVE_HAVE_STRCASECMP
-#undef HAVE_STRCASECMP
-#endif
+#define TEST_STRCASECMP
#include "port/string.c" /* for strcasecmp */
-#ifdef SAVE_HAVE_STRCASECMP
-#undef strcasecmp
-#endif
#include <stdlib.h> /* for EXIT_SUCCESS, EXIT_FAILURE */