"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Omar Polo <op@omarpolo.com>
Subject:
Re: fix gotd rejecting multiple have lines
To:
Stefan Sperling <stsp@stsp.name>
Cc:
Mark Jamsek <mark@jamsek.com>, gameoftrees@openbsd.org
Date:
Wed, 18 Jan 2023 16:32:31 +0100

Download raw body.

Thread
On 2023/01/18 15:59:13 +0100, Stefan Sperling <stsp@stsp.name> wrote:
> On Wed, Jan 18, 2023 at 12:57:27PM +0100, Omar Polo wrote:
> > sorry, please ignore.  I forgot that the gotd tests are not
> > self-contained and commented out the first test to wait less time
> > while seeing if it reilably failed for me too.
> 
> Yes the GOTD_TEST_REPO is shared, for better or worse.
> I saw no other way to make the test harness work with the multiple
> user accounts involved.
> 
> If it's a problem we can always split such tests out into a separate script.
> Reusing the repository does save some time when running the entire test
> suite though.

i don't think it's an issue per se, it's an interesting idea to share
the gotd session across a suite of tests.  It just means that I need
to pay a bit of attention and don't try tricks to get tests run faster :)

(often when working on regress/cmdline/* i add `test_foo ; exit $?'
right after test_parseargs to save some time while iterating.)