#-------------------------------------------------------------------------
java.lang.NullPointerException # GNUmakefile-- # Makefile for src/test/regress (the regression tests)
java.lang.NullPointerException # Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group # Portions Copyright (c) 1994, Regents of the University of California
java.lang.NullPointerException # src/test/regress/GNUmakefile
java.lang.NullPointerException #-------------------------------------------------------------------------
PGFILEDESC = "pg_regress - test driver"
PGAPPICON = win32
subdir = src/test/regress
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
# maximum simultaneous connections for parallel tests
MAXCONNOPT =
ifdef MAX_CONNECTIONS
MAXCONNOPT += --max-connections=$(MAX_CONNECTIONS)
endif
# stuff to pass into build of pg_regress
EXTRADEFS = '-DHOST_TUPLE="$(host_tuple)"' \ '-DSHELLPROG="$(SHELL)"'
# note: because of the submake dependency, this rule's action is really a no-op
$(top_builddir)/src/port/pg_config_paths.h: | submake-libpgport
$(MAKE) -C $(top_builddir)/src/port pg_config_paths.h
install: all installdirs
$(INSTALL_PROGRAM) pg_regress$(X) '$(DESTDIR)$(pgxsdir)/$(subdir)/pg_regress$(X)'