diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-02-24 14:04:18 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-02-24 14:04:18 +0100 |
commit | c8808247d13af4a326e69e9c81f8dbf9a62af610 (patch) | |
tree | 7fe13322fc0dc64894c448ebc393c0a9a73c726a /tests/port/test_strncasecmp.c | |
parent | cac9269b115502071175436828c698d7cb4ddc5c (diff) | |
download | wolfbones-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_strncasecmp.c')
-rw-r--r-- | tests/port/test_strncasecmp.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/port/test_strncasecmp.c b/tests/port/test_strncasecmp.c index 0483c41..3700613 100644 --- a/tests/port/test_strncasecmp.c +++ b/tests/port/test_strncasecmp.c @@ -1,13 +1,7 @@ #include "port/sys.h" -#ifdef HAVE_STRNCASECMP -#define SAVE_HAVE_STRNCASECMP -#undef HAVE_STRNCASECMP -#endif +#define TEST_STRNCASECMP #include "port/string.c" /* for strcasecmp */ -#ifdef SAVE_HAVE_STRNCASECMP -#undef strncasecmp -#endif #include <stdlib.h> /* for EXIT_SUCCESS, EXIT_FAILURE */ |