Обсуждение: pgcrypto regression test: how can I change the port?
I can't figure out how to change the port of the pgcrypto regression tests... I see how to change it in the regress.sh file, but, I can't figure out how to invoke it with that option... make has never been a forte of mine. I mean... couldn't you just use ant? :) Colin
Found the PGPORT variable. But is there a way to invoke the tests with a different port from the command line? Colin E. Freas wrote: > > I can't figure out how to change the port of the pgcrypto regression > tests... I see how to change it in the regress.sh file, but, I can't > figure out how to invoke it with that option... make has never been a > forte of mine. > > I mean... couldn't you just use ant? :) > > Colin > > ---------------------------(end of broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly >
On Thu, Aug 25, 2005 at 08:21:11PM -0400, Colin E. Freas wrote: > Found the PGPORT variable. > > But is there a way to invoke the tests with a different port from the > command line? You should be able to set variables like PGPORT, PGUSER, PGHOST, etc., on make's command line: make PGPORT=12345 installcheck Some systems have an "env" command that runs a command with a modified environment: env PGPORT=12345 make installcheck -- Michael Fuhr