public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Andrea Cervesato <andrea.cervesato@suse.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v2 1/2] tst_test: Add $LTP_SINGLE_ITERATION to limit variant
Date: Mon, 5 Jan 2026 15:55:22 +0100	[thread overview]
Message-ID: <20260105145522.GI654507@pevik> (raw)
In-Reply-To: <DF1CKZZ341NH.2FBK1TT6JU5Y6@suse.com>

> Hi!

> I was re-checking this implementation and it looks a bit different than
> what I was expecting. I probably misunderstood the first version.

> I was wondering if it's possible to select a specific variant inside
> the variants list, but this patch seems to start from the one we select
> until the end.

It's really as we discussed, only single variant is selected:

+	*last_variant = *first_variant + 1;

$ LTP_SINGLE_VARIANT=5 ./lib/newlib_tests/test_fail_variant
...
tst_test.c:1857: TINFO: Overall timeout per run is 0h 00m 30s
tst_test.c:2034: TINFO: WARNING: testing only variant 5 of 9
tst_test.c:2068: TINFO: ===== Testing tst_variant: 5 =====
test_fail_variant.c:13: TFAIL: Failing a test variant

Summary:
passed   0
failed   1
broken   0
skipped  0
warnings 0

And with master is:

$ LTP_SINGLE_VARIANT=5 ./lib/newlib_tests/test_fail_variant
...
tst_test.c:1856: TINFO: Overall timeout per run is 0h 00m 30s
test_fail_variant.c:13: TFAIL: Failing a test variant
test_fail_variant.c:13: TFAIL: Failing a test variant
test_fail_variant.c:13: TFAIL: Failing a test variant
test_fail_variant.c:13: TFAIL: Failing a test variant
test_fail_variant.c:13: TFAIL: Failing a test variant
test_fail_variant.c:13: TFAIL: Failing a test variant
test_fail_variant.c:13: TFAIL: Failing a test variant
test_fail_variant.c:13: TFAIL: Failing a test variant
test_fail_variant.c:13: TFAIL: Failing a test variant
test_fail_variant.c:13: TFAIL: Failing a test variant

Summary:
passed   0
failed   10
broken   0
skipped  0
warnings 0

Kind regards,
Petr

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

      reply	other threads:[~2026-01-05 14:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-25 11:44 [LTP] [PATCH v2 1/2] tst_test: Add $LTP_SINGLE_ITERATION to limit variant Petr Vorel
2025-02-25 11:44 ` [LTP] [PATCH v2 2/2] tst_supported_fs_types: Ignore empty $LTP_SINGLE_FS_TYPE value Petr Vorel
2025-12-18 12:30   ` Andrea Cervesato via ltp
2026-01-05 14:30     ` Petr Vorel
2025-12-18 12:39 ` [LTP] [PATCH v2 1/2] tst_test: Add $LTP_SINGLE_ITERATION to limit variant Andrea Cervesato via ltp
2026-01-05 14:55   ` Petr Vorel [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=20260105145522.GI654507@pevik \
    --to=pvorel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox