[Pdbg] [PATCH 4/5] tests: Ensure tests can be run from builddir

Alistair Popple alistair at popple.id.au
Fri Nov 9 13:26:18 AEDT 2018


Looks good, thanks!

Reviewed-by: Alistair Popple <alistair at popple.id.au>

On Thursday, 8 November 2018 3:13:10 PM AEDT Amitay Isaacs wrote:
> Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
> ---
>  tests/driver.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/driver.sh b/tests/driver.sh
> index f1f7612..16d6b71 100644
> --- a/tests/driver.sh
> +++ b/tests/driver.sh
> @@ -84,7 +84,7 @@ if [ "$TESTDIR" = "." ] ; then
>  	TESTDIR=$(cd "$TESTDIR"; pwd)
>  fi
>  SRCDIR=$(dirname "$TESTDIR")
> -PATH="$SRCDIR":$PATH
> +PATH="$SRCDIR":.:$PATH
> 
>  test_name=${TEST_NAME:-$0}
>  test_logfile=${TEST_LOG:-}




More information about the Pdbg mailing list