All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: Andrea Cervesato <andrea.cervesato@suse.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] lib: do_setup(): Check for supported arch first
Date: Tue, 29 Apr 2025 17:20:33 +0200	[thread overview]
Message-ID: <aBDuQdahWAlcm38G@yuki.lan> (raw)
In-Reply-To: <f2a81424-b035-433e-b299-07634039ef3c@suse.com>

Hi!
> Ok now it's more clear thanks.
> What about adding a macro like TST_TEST_TCONF that sets archs? At the 
> end, that's what we actually do already in the tst_test structure for 
> tconf_msg:
> 
> #define TST_TEST_TCONF(message)                                 \
>          static struct tst_test test = { .tconf_msg = message  } \
> 
> Something like:
> 
> #define TST_TEST_TCONF2(message, archs)                       \
>          static struct tst_test test = { .tconf_msg = message, 
> .supported_archs = archs  } \

That will not get into the metadata, because the tst_test structure from
the TST_TEST_TCONF() is not parsed by the metadata extractor and that is
on purpose because the real data is in the other one.

-- 
Cyril Hrubis
chrubis@suse.cz

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2025-04-29 15:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-29 13:55 [LTP] [PATCH] lib: do_setup(): Check for supported arch first Cyril Hrubis
2025-04-29 14:55 ` Andrea Cervesato via ltp
2025-04-29 15:06   ` Cyril Hrubis
2025-04-29 15:17     ` Andrea Cervesato via ltp
2025-04-29 15:20       ` Cyril Hrubis [this message]
2025-04-29 15:29         ` Andrea Cervesato via ltp
2025-04-29 21:22 ` Petr Vorel
2025-04-30  7:14   ` 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=aBDuQdahWAlcm38G@yuki.lan \
    --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.