From 96d88ea6e0e111715ab94403e778dc5596a21ae1 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Mon, 17 Apr 2006 03:53:04 +0000 Subject: [PATCH] * python_test.sh: Set srcdir and PYTHON to reasonable defaults if not already set, this allows easy manual execution of this script outside of make check. svn path=/trunk/yasm/; revision=1502 --- tools/python-yasm/tests/python_test.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/python-yasm/tests/python_test.sh b/tools/python-yasm/tests/python_test.sh index fbea4402..1f3896d6 100755 --- a/tools/python-yasm/tests/python_test.sh +++ b/tools/python-yasm/tests/python_test.sh @@ -5,6 +5,9 @@ set -e +test -n "${srcdir}" || srcdir=. +test -n "${PYTHON}" || PYTHON=python + if test "$1" = "--help" -o "$1" = "-h"; then echo "Usage: $0 --sanity | [TestName] ..." exit 0 -- 2.40.0