diff options
author | Joe Simmons-Talbott <josimmon@redhat.com> | 2023-04-04 09:57:47 -0400 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2023-05-16 14:38:20 -0400 |
commit | d877b52d58b1c73810751bdb48987b84bda87d5e (patch) | |
tree | e6f6dff58f9a3f0dc4bee2b6a719c74fefff59df /stdlib/Makefile | |
parent | b11db301e162480d1812937ab0410dc7585f423c (diff) | |
download | glibc-d877b52d58b1c73810751bdb48987b84bda87d5e.zip glibc-d877b52d58b1c73810751bdb48987b84bda87d5e.tar.gz glibc-d877b52d58b1c73810751bdb48987b84bda87d5e.tar.bz2 |
stdlib: Add testcases for llabs(). (BZ #30263)
Test minimum and maximum long long values, zero, 32bit crossover points, and
part of the range of long long values. Use '-fno-builtin' to ensure we are
testing the implementation.
Reviewed-by: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
Diffstat (limited to 'stdlib/Makefile')
-rw-r--r-- | stdlib/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stdlib/Makefile b/stdlib/Makefile index 0f58a6b..0975f55 100644 --- a/stdlib/Makefile +++ b/stdlib/Makefile @@ -200,6 +200,7 @@ tests := \ tst-getrandom \ tst-labs \ tst-limits \ + tst-llabs \ tst-makecontext \ tst-makecontext-align \ tst-makecontext2 \ @@ -291,6 +292,7 @@ LDLIBS-test-dlclose-exit-race-helper.so = $(libsupport) $(shared-thread-library) CFLAGS-tst-abs.c += -fno-builtin CFLAGS-tst-labs.c += -fno-builtin +CFLAGS-tst-llabs.c += -fno-builtin ifeq ($(have-cxx-thread_local),yes) CFLAGS-tst-quick_exit.o = -std=c++11 |