mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Add string IFUNC tests
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/* Test and measure STRCHR functions.
|
||||
Copyright (C) 1999, 2002, 2003, 2011 Free Software Foundation, Inc.
|
||||
Copyright (C) 1999-2012 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Written by Jakub Jelinek <jakub@redhat.com>, 1999.
|
||||
Added wcschr support by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>, 2011
|
||||
@ -19,6 +19,15 @@
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#define TEST_MAIN
|
||||
#ifndef WIDE
|
||||
# ifdef USE_FOR_STRCHRNUL
|
||||
# define TEST_NAME "strchrnul"
|
||||
# else
|
||||
# define TEST_NAME "strchr"
|
||||
# endif
|
||||
#else
|
||||
# define TEST_NAME "wcschr"
|
||||
#endif
|
||||
#include "test-string.h"
|
||||
|
||||
#ifndef WIDE
|
||||
|
Reference in New Issue
Block a user