pkgsrc/regress/make-env-phases/spec
ben 8fbd1d3ce0 Initial import of a test that checks whether MAKE_ENV changes between
build and install phase.  MAKE_ENV needs to remain the same for
packages that use scons.  Otherwise, in the install step, scons will
take the new MAKE_ENV to mean that the build action changed, and it will
rebuild the package with the wrong configuration and install that.
2006-09-06 03:37:14 +00:00

14 lines
259 B
Text

# $NetBSD: spec,v 1.1.1.1 2006/09/06 03:37:14 ben Exp $
#
do_test() {
{
${TEST_MAKE} "clean"
${TEST_MAKE} "build"
${TEST_MAKE} "do-install"
} 1>"${TEST_OUTFILE}" 2>&1
}
check_result() {
output_require "^The variable MAKE_ENV remains unchanged\\.\$"
}