* tests/test-calloc-gnu.c (main): Don't attempt to allocate a huge block
of memory on Solaris.
* tests/test-malloc-gnu.c (main): Add a comment.
+2026-05-10 Bruno Haible <bruno@clisp.org>
+
+ calloc-gnu tests: Skip expensive part on Solaris.
+ * tests/test-calloc-gnu.c (main): Don't attempt to allocate a huge block
+ of memory on Solaris.
+ * tests/test-malloc-gnu.c (main): Add a comment.
+
2026-05-10 Bruno Haible <bruno@clisp.org>
stdlib-h-c++-tests: Fix link error on Solaris 10 with Oracle Studio 12.
/* Check that calloc fails when requested to allocate a block of memory
larger than PTRDIFF_MAX or SIZE_MAX bytes. */
+ /* Running this test on a Solaris 10 machine (cfarm210.cfarm.net) makes
+ the machine unresponsive for at least several minutes, possibly
+ indefinitely. */
+#if !defined __sun
{
for (size_t n = 2; n != 0; n <<= 1)
{
ASSERT (errno == ENOMEM);
}
}
+#endif
return test_exit_status;
}
free (p);
/* Check that malloc (n) fails when n exceeds PTRDIFF_MAX. */
+ /* Note: Running this test on a Solaris 10 machine (cfarm210.cfarm.net) makes
+ the machine unresponsive for 43 seconds. */
if (PTRDIFF_MAX < SIZE_MAX)
{
size_t one = argc != 12345;