public inbox for [email protected]  
help / color / mirror / Atom feed
From: Laurenz Albe <[email protected]>
To: mahendrakar s <[email protected]>
To: pgsql-novice <[email protected]>
Subject: Re: Need help with moving test cases in extension folder
Date: Fri, 10 Jun 2022 03:59:16 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <CABkiuWrLVhToEg9fZ2D3z0_wBcHNibUF=RtHW8cSDZvf9YeLBw@mail.gmail.com>
References: <CABkiuWrLVhToEg9fZ2D3z0_wBcHNibUF=RtHW8cSDZvf9YeLBw@mail.gmail.com>

On Thu, 2022-06-09 at 22:09 +0530, mahendrakar s wrote:
> When we run `make check` inside the contrib/<extension> folder, it ALWAYS looks for folder `sql` for testscripts. 
> i.e: contrib/<extension>/sql -->[1].
> 
> I have a requirement to move test related folders to a different folder(sub directory of extension),
> i.e contrib/<extension>/<testsubdir>/sql -->[2].
> 
> Is there a way to tell `make check` to look at [2] instead of [1]? Are there any flags to configure Makefile? Can you please let me know.
> Appreciate your help.

No, the location of the regression tests is hard-coded.

You can add NO_INSTALLCHECK to the Makefile to skip the automatic execution
of the regression tests and run your own later in a different way.

Yours,
Laurenz Albe

PS: I have the feeling that surprisingly, the questions on the -novice list are
almost never novice questions.  I wonder why.






view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Need help with moving test cases in extension folder
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox