public inbox for linux-rt-users@vger.kernel.org
 help / color / mirror / Atom feed
From: Crystal Wood <crwood@redhat.com>
To: Tomas Glozar <tglozar@redhat.com>
Cc: John Kacur <jkacur@redhat.com>,
	Clark Williams <williams@redhat.com>,
	 Linux RT Users <linux-rt-users@vger.kernel.org>
Subject: Re: [PATCH] rteval: Introduce E2E tests with output checking
Date: Tue, 30 Sep 2025 17:57:34 -0500	[thread overview]
Message-ID: <5a7d763f259deda4bbcfed32982aa876f379649c.camel@redhat.com> (raw)
In-Reply-To: <CAP4=nvRXtcYdKLbMn-U9TZ3bv+RV_bMkeVoKTMevv9q5+uK64A@mail.gmail.com>

On Fri, 2025-09-26 at 13:09 +0200, Tomas Glozar wrote:
> čt 18. 9. 2025 v 21:22 odesílatel Crystal Wood <crwood@redhat.com> napsal:
> > 
> > Can we just put all the tests in tests/ rather than making this
> > distinction?  And have the unit tests be something that can be run just
> > like any other test?
> > 
> 
> I agree that the organization is not the best. This patch only deals
> with end-to-end tests, though. As long as there is a top-level
> unit-tests/ directory, adding another one named tests/ would be
> confusing.

I was suggesting putting *all* tests in a single tests/ directory,
including the unit tests.  So, there wouldn't be a unit-tests/
directory.

> 
> > > +             if [ $exitcode -eq $expected_exitcode ] && [ $grep_result -eq 0 ]
> > > +             then
> > > +                     echo "ok $ctr - $1"
> > > +             else
> > > +                     echo "not ok $ctr - $1"
> > > +                     # Add rtla output and exit code as comments in case of failure
> > > +                     echo "$result" | col -b | while read line; do echo "# $line"; done
> > > +                     printf "#\n# exit code %s\n" $exitcode
> > > +                     [ -n "$expected_output" ] && [ $grep_result -ne 0 ] && \
> > > +                             printf "# Output match failed: \"%s\"\n" "$expected_output"
> > > +             fi
> > 
> > Any reason to not take the updated version of the engine from the rtla
> > consolidation patchset?
> > 
> 
> This patch was sent quite some time ago, I think it was before the
> updated version of the engine.

Ah, I thought it was a new patch, not a reply to an older patch.


-Crystal


      reply	other threads:[~2025-09-30 22:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-25  9:02 [PATCH] rteval: Introduce E2E tests with output checking Tomas Glozar
2025-09-18 17:56 ` John Kacur
2025-09-18 19:24   ` Crystal Wood
2025-09-26 11:12   ` Tomas Glozar
2025-11-04 12:57   ` Tomas Glozar
2025-09-18 19:22 ` Crystal Wood
2025-09-26 11:09   ` Tomas Glozar
2025-09-30 22:57     ` Crystal Wood [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=5a7d763f259deda4bbcfed32982aa876f379649c.camel@redhat.com \
    --to=crwood@redhat.com \
    --cc=jkacur@redhat.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=tglozar@redhat.com \
    --cc=williams@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