Default make target in test modules
I happened to notice that if you type "make" in
src/test/modules/test_pg_dump, you will get a "make check" action
not "make all". I hope this is just somebody being thoughtless
about Makefile ordering and not an intentional override of the
default make target. If the latter, I beg to differ about it
being a good idea.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Tom Lane wrote:
I happened to notice that if you type "make" in
src/test/modules/test_pg_dump, you will get a "make check" action
not "make all". I hope this is just somebody being thoughtless
about Makefile ordering and not an intentional override of the
default make target. If the latter, I beg to differ about it
being a good idea.
Strange. Don't all these makefiles depend on the pgxs stuff emitting
something sane, which would have "all" as the first one? ... Ooh, I see
that test_pg_dump adds "check" before including pgxs, which is what
AFAICS causes the problem.
I suppose this is a very easy mistake to make -- but also fortunately an
easy one to correct. Do you want me to fix the affected modules?
--
�lvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
Tom Lane wrote:
I happened to notice that if you type "make" in
src/test/modules/test_pg_dump, you will get a "make check" action
not "make all".
Strange. Don't all these makefiles depend on the pgxs stuff emitting
something sane, which would have "all" as the first one? ... Ooh, I see
that test_pg_dump adds "check" before including pgxs, which is what
AFAICS causes the problem.
Right.
I suppose this is a very easy mistake to make -- but also fortunately an
easy one to correct. Do you want me to fix the affected modules?
I was going to do it, but if you want to, feel free.
(BTW, I notice that test_pg_dump's Makefile misquotes its own path name,
probably copy-paste sloppiness.)
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Tom Lane wrote:
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
I suppose this is a very easy mistake to make -- but also fortunately an
easy one to correct. Do you want me to fix the affected modules?I was going to do it, but if you want to, feel free.
Done.
(BTW, I notice that test_pg_dump's Makefile misquotes its own path name,
probably copy-paste sloppiness.)
Uh, I hadn't noticed. Fixed that one too.
--
�lvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
Tom Lane wrote:
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
I suppose this is a very easy mistake to make -- but also fortunately an
easy one to correct. Do you want me to fix the affected modules?
I was going to do it, but if you want to, feel free.
Done.
Thanks.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
I happened to notice that if you type "make" in
src/test/modules/test_pg_dump, you will get a "make check" action
not "make all". I hope this is just somebody being thoughtless
about Makefile ordering and not an intentional override of the
default make target. If the latter, I beg to differ about it
being a good idea.
No, it wasn't intentional.
Done.
Thanks.
Thanks to you both!
Stephen
Import Notes
Reply to msg id not found: 20495.1473356690@sss.pgh.pa.us20160908174051.GA39180@alvherre.pgsql18169.1473353531@sss.pgh.pa.us20160908164740.GA31913@alvherre.pgsql7180.1473352562@sss.pgh.pa.us | Resolved by subject fallback