From: Wake Liu via ltp <ltp@lists.linux.it>
To: ltp@lists.linux.it
Cc: Wake Liu <wakel@google.com>
Subject: Re: [LTP] [PATCH] tst_test_macros: Avoid re-evaluating arguments in TST_EXP_{EQ, LE}_*()
Date: Tue, 24 Nov 2026 08:42:40 +0000 [thread overview]
Message-ID: <20261124084240.2967915-1-wakel@google.com> (raw)
In-Reply-To: <20261113134113.2822581-1-wakel@google.com>
Hi Cyril, Andrea, Petr,
Gentle ping on this patch:
https://patchwork.kernel.org/project/ltp/patch/20261113134113.2822581-1-wakel@google.com/
Please let me know if you have any comments.
Thanks,
Wake
On Fri, Nov 13, 2026 at 01:41:13PM +0000, Wake Liu wrote:
> Commit 1759ad9f3f0b ("Add silent macros for TST_EXP_EQ_*") split the
> TPASS message out of TST_EXP_EQ_SILENT_() and printed VAL_A directly in
> TST_EXP_EQ_LI(), TST_EXP_EQ_LU(), TST_EXP_EQ_SZ() and TST_EXP_EQ_SSZ()
> because tst_tmp_a__ was no longer in scope. As a result, VAL_A is
> evaluated a second time whenever the check passes. Commit 1b0395338108
> ("tst_test_macros: Add TST_EXP_LE_LU*()") followed the same pattern and
> evaluates both VAL_A and VAL_B a second time on TPASS.
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2026-11-24 8:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-13 13:41 [LTP] [PATCH] tst_test_macros: Avoid re-evaluating arguments in TST_EXP_{EQ, LE}_*() Wake Liu via ltp
2026-11-24 8:42 ` Wake Liu via ltp [this message]
2026-11-24 15:53 ` 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=20261124084240.2967915-1-wakel@google.com \
--to=ltp@lists.linux.it \
--cc=wakel@google.com \
/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