Linux Test Project
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: Mark Wielaard <mark@klomp.org>
Cc: Martin Cermak <mcermak@redhat.com>, ltp@lists.linux.it
Subject: Re: [LTP] LTP in valgrind :)
Date: Fri, 9 May 2025 10:24:25 +0200	[thread overview]
Message-ID: <aB27uWaPgL1q-akl@yuki.lan> (raw)
In-Reply-To: <adfcd1e3f129c97c2132a138e70599642566886a.camel@klomp.org>

Hi!
> That looks pretty interesting, I just tried it and it turns:
> 
> $ ./testcases/kernel/syscalls/dup/dup01 
> tst_tmpdir.c:316: TINFO: Using /tmp/LTP_dupbmNNGn as tmpdir (tmpfs filesystem)
> tst_test.c:1907: TINFO: LTP version: VALGRIND_3_25_0-10-g0ce068434ec3
> tst_test.c:1911: TINFO: Tested kernel: 6.13.11-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 10 19:02:09 UTC 2025 x86_64
> tst_kconfig.c:88: TINFO: Parsing kernel config '/lib/modules/6.13.11-200.fc41.x86_64/build/.config'
> tst_test.c:1729: TINFO: Overall timeout per run is 0h 00m 30s
> dup01.c:24: TPASS: dup(fd) returned fd 4
> dup01.c:27: TPASS: buf1.st_ino == buf2.st_ino (6921515)
> 
> Summary:
> passed   2
> failed   0
> broken   0
> skipped  0
> warnings 0
> 
> into:
> 
> $ LTP_REPRODUCIBLE_OUTPUT=1 ./testcases/kernel/syscalls/dup/dup01 
> tst_tmpdir.c:316: 
> tst_test.c:1907: 
> tst_test.c:1911: 
> tst_kconfig.c:88: 
> tst_test.c:1729: 
> dup01.c:24: 
> dup01.c:27: 
> 
> Summary:
> passed   2
> failed   0
> broken   0
> skipped  0
> warnings 0
> 
> So that still shows the "code flow" and the test results Summary (all
> output goes to stderr). I think this would indeed be useful to compare
> if a testcase runs the same "native" and under valgrind.

I will send a proper LTP patch.

-- 
Cyril Hrubis
chrubis@suse.cz

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

  reply	other threads:[~2025-05-09  8:24 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-29  5:22 [LTP] LTP in valgrind :) Petr Vorel
2025-04-29  6:59 ` Andrea Cervesato via ltp
2025-05-02  9:49 ` Cyril Hrubis
2025-05-02 10:53   ` Martin Doucha
2025-05-05  8:57     ` Cyril Hrubis
2025-05-05 19:52       ` Petr Vorel
2025-05-06  8:05       ` Petr Vorel
2025-05-07 15:11         ` Martin Cermak via ltp
2025-05-07 15:29           ` Cyril Hrubis
2025-05-08 16:07             ` Mark Wielaard
2025-05-09  8:24               ` Cyril Hrubis [this message]
2025-05-09 14:16               ` Bird, Tim
2025-05-12  8:09                 ` Cyril Hrubis
2025-05-08 16:40         ` Mark Wielaard
2025-05-05 19:50   ` Petr Vorel
2025-05-06  8:03     ` Cyril Hrubis
2025-05-06  8:25       ` 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=aB27uWaPgL1q-akl@yuki.lan \
    --to=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    --cc=mark@klomp.org \
    --cc=mcermak@redhat.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