[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
noreturn tests: Avoid test failure on Solaris 10/x86 with cc
From: |
Bruno Haible |
Subject: |
noreturn tests: Avoid test failure on Solaris 10/x86 with cc |
Date: |
Mon, 18 Jan 2021 20:18:13 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-197-generic; KDE/5.18.0; x86_64; ; ) |
On Solaris 10/x86 (32-bit) with cc, I see this test failure:
FAIL test-noreturn (exit status: 76)
This patch fixes it.
2021-01-18 Bruno Haible <bruno@clisp.org>
noreturn tests: Avoid test failure on Solaris 10/x86 with cc.
* tests/test-noreturn.c (main): Return 0.
diff --git a/tests/test-noreturn.c b/tests/test-noreturn.c
index 3f3f994..21cb6fc 100644
--- a/tests/test-noreturn.c
+++ b/tests/test-noreturn.c
@@ -65,4 +65,5 @@ void func3 (void)
int
main ()
{
+ return 0;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- noreturn tests: Avoid test failure on Solaris 10/x86 with cc,
Bruno Haible <=