From bae0c4c8f0a7fddfc80ce2fc397d8eb5e215fe11 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Mon, 6 Apr 2009 22:04:32 -0700 Subject: add macports portfile update target to makefile --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9873d32..58ef332 100755 --- a/Makefile +++ b/Makefile @@ -37,6 +37,9 @@ debian-package: tarball freebsd-distinfo: ./utils/build-freebsd-distinfo +macports-portfile: + ./utils/build-macports-portfile + clean: # clean up old monkeysphere packages lying around as well. rm -f monkeysphere_* -- cgit v1.2.3 From 00ff70f6038a20c09968bc7b1cd2309916e178a8 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Mon, 6 Apr 2009 23:31:09 -0700 Subject: make test prompt for shell on failure enbabled by default, and turned off with env variable MONKEYSPHERE_TEST_NO_EXAMINE --- Makefile | 2 +- tests/common | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 58ef332..5f87a16 100755 --- a/Makefile +++ b/Makefile @@ -81,6 +81,6 @@ releasenote: ./utils/build-releasenote test: - ./tests/basic + MONKEYSPHERE_TEST_NO_EXAMINE=true ./tests/basic .PHONY: all tarball debian-package freebsd-distinfo clean install installman releasenote test diff --git a/tests/common b/tests/common index e53c31e..a000c56 100644 --- a/tests/common +++ b/tests/common @@ -3,7 +3,7 @@ failed_cleanup() { # FIXME: can we be more verbose here? echo 'FAILED!' - if [ "$MONKEYSPHERE_TEST_ALLOW_EXAMINATION" = prompt ] ; then + if [ -z "$MONKEYSPHERE_TEST_NO_EXAMINE" ] ; then read -p "press enter to cleanup and remove tmp (or type bash for a subshell to examine): " XX if [ "$XX" = bash ] ; then echo "Entering subshell..." -- cgit v1.2.3