public inbox for [email protected]
help / color / mirror / Atom feedNeed help with moving test cases in extension folder
2+ messages / 2 participants
[nested] [flat]
* Need help with moving test cases in extension folder
@ 2022-06-09 16:39 mahendrakar s <[email protected]>
2022-06-10 01:59 ` Re: Need help with moving test cases in extension folder Laurenz Albe <[email protected]>
0 siblings, 1 reply; 2+ messages in thread
From: mahendrakar s @ 2022-06-09 16:39 UTC (permalink / raw)
To: pgsql-novice <[email protected]>
Hi Team,
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.
Thanks,
Mahendrakar.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Need help with moving test cases in extension folder
2022-06-09 16:39 Need help with moving test cases in extension folder mahendrakar s <[email protected]>
@ 2022-06-10 01:59 ` Laurenz Albe <[email protected]>
0 siblings, 0 replies; 2+ messages in thread
From: Laurenz Albe @ 2022-06-10 01:59 UTC (permalink / raw)
To: mahendrakar s <[email protected]>; pgsql-novice <[email protected]>
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.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2022-06-10 01:59 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-06-09 16:39 Need help with moving test cases in extension folder mahendrakar s <[email protected]>
2022-06-10 01:59 ` Laurenz Albe <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox