From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH 00/16] syscalls: Use common variants structure
Date: Fri, 11 Sep 2020 11:53:14 +0200 [thread overview]
Message-ID: <20200911095314.GA9505@dell5510> (raw)
In-Reply-To: <cover.1599545766.git.viresh.kumar@linaro.org>
Hi Viresh,
> Hi Cyril,
> As you suggested earlier, here is an attempt to use a common structure
> prototype at most of the places.
> futex, clock_adjtime() and clock_getres() tests are left with their own
> implementations due to compatibility issues.
> Viresh Kumar (16):
> syscalls: Add common time64 variants structure
> syscalls: clock_gettime: Reuse struct time64_variants
> syscalls: clock_nanosleep: Reuse struct time64_variants
> syscalls: clock_settime: Reuse struct time64_variants
> syscalls: io_pgetevents: Reuse struct time64_variants
> syscalls: semop: Reuse struct time64_variants
> syscalls: mq_timed: Reuse struct time64_variants
> syscalls: ppoll: Reuse struct time64_variants
> syscalls: rt_sigtimedwait: Reuse struct time64_variants
> syscalls: sched_rr_get_interval: Reuse struct time64_variants
> syscalls: sendmmsg: Reuse struct time64_variants
> syscalls: timer_settime: Reuse struct time64_variants
> syscalls: timer_gettime: Reuse struct time64_variants
> syscalls: timerfd: Reuse struct time64_variants
> syscalls: utimensat: Reuse struct time64_variants
> futex: Move variants struct definition to common header
One of the commits fails on various tests [1].
Some failures (I haven't checked all):
* missing nfds_t (<poll.h> is probably from old commits) [2]:
CC testcases/kernel/syscalls/mq_open/mq_open01
In file included from ../../../../include/time64_variants.h:13,
from /usr/src/ltp/testcases/kernel/syscalls/mq_timedreceive/../utils/mq_timed.h:10,
from mq_timedreceive01.c:17:
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
| ^~~~~~~
In file included from /usr/src/ltp/testcases/kernel/syscalls/mq_timedreceive/../utils/mq_timed.h:10,
from mq_timedreceive01.c:17:
../../../../include/time64_variants.h:41:35: error: unknown type name 'nfds_t'
41 | int (*ppoll)(struct pollfd *fds, nfds_t nfds, void *tmo_p,
* <libaio.h> not found [3]:
BUILD libltpnewipc.a
make[6]: Nothing to be done for 'all'.
In file included from /usr/src/ltp/testcases/kernel/syscalls/ipc/semop/semop02.c:29:
In file included from In file included from /usr/src/ltp/testcases/kernel/syscalls/ipc/semop/semop01.c:15:
In file included from /usr/src/ltp/testcases/kernel/syscalls/ipc/semop/semop.h:7:
/usr/src/ltp/include/time64_variants.h:10:10: fatal error: /usr/src/ltp/testcases/kernel/syscalls/ipc/semop/semop.h'libaio.h' file not
found
:7:
/usr/src/ltp/include/time64_variants.h:10:10: fatal error: 'libaio.h' file#include <libaio.h>
^~~~~~~~~~
not
found
#include <libaio.h>
[1] https://travis-ci.org/github/pevik/ltp/builds/726197434
[2] https://travis-ci.org/github/pevik/ltp/jobs/726197439#L5295
[3] https://travis-ci.org/github/pevik/ltp/jobs/726197440#L6649
Kind regards,
Petr
next prev parent reply other threads:[~2020-09-11 9:53 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-08 6:19 [LTP] [PATCH 00/16] syscalls: Use common variants structure Viresh Kumar
2020-09-08 6:19 ` [LTP] [PATCH 01/16] syscalls: Add common time64 " Viresh Kumar
2020-09-08 6:19 ` [LTP] [PATCH 02/16] syscalls: clock_gettime: Reuse struct time64_variants Viresh Kumar
2020-09-08 6:19 ` [LTP] [PATCH 03/16] syscalls: clock_nanosleep: " Viresh Kumar
2020-09-08 6:19 ` [LTP] [PATCH 04/16] syscalls: clock_settime: " Viresh Kumar
2020-09-08 6:19 ` [LTP] [PATCH 05/16] syscalls: io_pgetevents: " Viresh Kumar
2020-09-08 6:19 ` [LTP] [PATCH 06/16] syscalls: semop: " Viresh Kumar
2020-09-08 6:19 ` [LTP] [PATCH 07/16] syscalls: mq_timed: " Viresh Kumar
2020-09-08 6:19 ` [LTP] [PATCH 08/16] syscalls: ppoll: " Viresh Kumar
2020-09-08 6:19 ` [LTP] [PATCH 09/16] syscalls: rt_sigtimedwait: " Viresh Kumar
2020-09-08 6:19 ` [LTP] [PATCH 10/16] syscalls: sched_rr_get_interval: " Viresh Kumar
2020-09-08 6:19 ` [LTP] [PATCH 11/16] syscalls: sendmmsg: " Viresh Kumar
2020-09-08 6:19 ` [LTP] [PATCH 12/16] syscalls: timer_settime: " Viresh Kumar
2020-09-08 6:19 ` [LTP] [PATCH 13/16] syscalls: timer_gettime: " Viresh Kumar
2020-09-08 6:19 ` [LTP] [PATCH 14/16] syscalls: timerfd: " Viresh Kumar
2020-09-08 6:19 ` [LTP] [PATCH 15/16] syscalls: utimensat: " Viresh Kumar
2020-09-08 6:19 ` [LTP] [PATCH 16/16] futex: Move variants struct definition to common header Viresh Kumar
2020-09-11 9:53 ` Petr Vorel [this message]
2020-09-11 10:39 ` [LTP] [PATCH 00/16] syscalls: Use common variants structure Viresh Kumar
2020-09-11 11:01 ` Viresh Kumar
2020-09-11 13:47 ` Cyril Hrubis
2020-09-16 5:51 ` Viresh Kumar
2020-09-11 11:45 ` Petr Vorel
2020-09-11 13:46 ` Cyril Hrubis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200911095314.GA9505@dell5510 \
--to=pvorel@suse.cz \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox