Andrew Geissler | 706d5aa | 2021-02-12 15:55:30 -0600 | [diff] [blame^] | 1 | From 62fac5e3ff0fccd329cdc49605258b6d0e573a3e Mon Sep 17 00:00:00 2001 |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
| 3 | Date: Wed, 28 Feb 2018 21:25:22 -0800 |
Andrew Geissler | 706d5aa | 2021-02-12 15:55:30 -0600 | [diff] [blame^] | 4 | Subject: [PATCH] test-sizeof.c: Disable tests for missing typedefs in musl |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 5 | |
| 6 | Upstream-Status: Inappropriate [musl specific] |
| 7 | |
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 9 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> |
Andrew Geissler | 706d5aa | 2021-02-12 15:55:30 -0600 | [diff] [blame^] | 10 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 11 | --- |
| 12 | src/test/test-sizeof.c | 4 ++++ |
| 13 | 1 file changed, 4 insertions(+) |
| 14 | |
| 15 | diff --git a/src/test/test-sizeof.c b/src/test/test-sizeof.c |
Andrew Geissler | 706d5aa | 2021-02-12 15:55:30 -0600 | [diff] [blame^] | 16 | index 1020e0cb3153..c65062d2562c 100644 |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 17 | --- a/src/test/test-sizeof.c |
| 18 | +++ b/src/test/test-sizeof.c |
Andrew Geissler | 706d5aa | 2021-02-12 15:55:30 -0600 | [diff] [blame^] | 19 | @@ -44,8 +44,10 @@ int main(void) { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 20 | info(unsigned); |
| 21 | info(long unsigned); |
| 22 | info(long long unsigned); |
| 23 | +#ifdef __GLIBC__ |
| 24 | info(__syscall_ulong_t); |
| 25 | info(__syscall_slong_t); |
| 26 | +#endif |
| 27 | |
| 28 | info(float); |
| 29 | info(double); |
Andrew Geissler | 706d5aa | 2021-02-12 15:55:30 -0600 | [diff] [blame^] | 30 | @@ -63,7 +65,9 @@ int main(void) { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 31 | info(ssize_t); |
| 32 | info(time_t); |
| 33 | info(usec_t); |
| 34 | +#ifdef __GLIBC__ |
| 35 | info(__time_t); |
| 36 | +#endif |
| 37 | info(pid_t); |
| 38 | info(uid_t); |
| 39 | info(gid_t); |