From: Cyril Hrubis <chrubis@suse.cz>
To: Petr Vorel <pvorel@suse.cz>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v6] Refactor fork14 using new LTP API
Date: Wed, 15 May 2024 16:25:29 +0200 [thread overview]
Message-ID: <ZkTF2a0-z3Ok_PYO@yuki> (raw)
In-Reply-To: <20240515142234.GA227672@pevik>
Hi!
> +#ifndef TST_ABI32
> +
> #define LARGE (16 * 1024)
> #define EXTENT (16 * 1024 + 10)
>
> @@ -48,7 +52,7 @@ static void run(void)
> if (failures > 10) {
> tst_brk(TCONF, "mmap() fails too many "
> "times, so it's almost impossible to "
> - "get a vm_area_struct sized 16TB.");
> + "get a vm_area_struct sized 16TB");
> }
>
> continue;
> @@ -115,9 +119,11 @@ static struct tst_test test = {
> .setup = setup,
> .cleanup = cleanup,
> .forks_child = 1,
> - .skip_in_compat = 1,
> .tags = (const struct tst_tag[]) {
> {"linux-git", "7edc8b0ac16c"},
> {}
> }
> };
> +#else
> +TST_TEST_TCONF("Not supported on x86 in 32-bit");
> +#endif
I think that adding ifdefs and removing metadata is actually a step
back. I suppose that we need .skip_on_32bit or something similar.
--
Cyril Hrubis
chrubis@suse.cz
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2024-05-15 14:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-03 8:16 [LTP] [PATCH v6] Refactor fork14 using new LTP API Andrea Cervesato
2024-05-03 12:49 ` Martin Doucha
2024-05-06 20:26 ` Petr Vorel
2024-05-07 7:24 ` Andrea Cervesato via ltp
2024-05-15 14:22 ` Petr Vorel
2024-05-15 14:25 ` Cyril Hrubis [this message]
2024-05-15 23:10 ` Petr Vorel
2024-05-15 14:25 ` Andrea Cervesato via ltp
2024-05-15 13:17 ` Petr Vorel
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=ZkTF2a0-z3Ok_PYO@yuki \
--to=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
--cc=pvorel@suse.cz \
/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