From: Cyril Hrubis <chrubis@suse.cz>
To: Andrea Cervesato <andrea.cervesato@suse.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v1] Support return value in TST_* macros
Date: Wed, 26 Apr 2023 10:38:00 +0200 [thread overview]
Message-ID: <ZEji6GMTZG2HCfE0@rei> (raw)
In-Reply-To: <827cbeda-719f-885c-f230-b6e2e248665f@suse.com>
Hi!
> The reason is that I didn't want to handle every "break". To return
> TST_RET after TST_EXP_POSITIVE_ seemed like a cleaner option.
We can always add another indirection, rename the TST_EXP_POSITIVE_ to
TST_EXP_POSITIVE__ and
#define TST_EXP_POSITIVE_(SCALL, SSCALL, ...) ({
TST_EXP_POSITIVE__(SCALL, SSCALL, ...);
TST_RET;
})
--
Cyril Hrubis
chrubis@suse.cz
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2023-04-26 8:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-26 7:49 [LTP] [PATCH v1] Support return value in TST_* macros Andrea Cervesato
2023-04-26 8:26 ` Cyril Hrubis
2023-04-26 8:31 ` Andrea Cervesato via ltp
2023-04-26 8:38 ` Cyril Hrubis [this message]
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=ZEji6GMTZG2HCfE0@rei \
--to=chrubis@suse.cz \
--cc=andrea.cervesato@suse.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.