]> Savannah Git Hosting - gnulib.git/commitdiff
get-rusage-data tests: Avoid test failure on FreeBSD/x86_64.
authorBruno Haible <bruno@clisp.org>
Mon, 7 Dec 2020 19:57:47 +0000 (20:57 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 7 Dec 2020 19:57:47 +0000 (20:57 +0100)
* tests/test-get-rusage-data.c (main): Don't expect a strict increase on
FreeBSD systems.

ChangeLog
tests/test-get-rusage-data.c

index 3458610f9a5cf370559055f9a942f781f7c2bf0a..da760380c1fca635bca47c9fadd702ae7cbe291d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2020-12-07  Bruno Haible  <bruno@clisp.org>
+
+       get-rusage-data tests: Avoid test failure on FreeBSD/x86_64.
+       * tests/test-get-rusage-data.c (main): Don't expect a strict increase on
+       FreeBSD systems.
+
 2020-12-07  Bruno Haible  <bruno@clisp.org>
 
        get-rusage-data: Fix link error on FreeBSD 12.2/arm64.
index a0f6bc86547cff59d1558d5b2d24e3887bae9a40..32efb284fa830c83fb6287af599eb62fbff29146 100644 (file)
@@ -55,7 +55,7 @@ main ()
       ASSERT (value2 >= value1);
       ASSERT (value3 >= value2);
 
-#if !(__GLIBC__ == 2 || (defined __APPLE__ && defined __MACH__) || defined __DragonFly__ || defined __OpenBSD__ || defined _WIN32 || defined __CYGWIN__)
+#if !(__GLIBC__ == 2 || (defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __OpenBSD__ || defined _WIN32 || defined __CYGWIN__)
       /* Allocating 2.5 MB of memory should increase the data segment size.  */
       ASSERT (value3 > value1);
 #endif