X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=tests%2Flib.sh;h=90a7db3996ec986c1b9a6cc6a4bbed0b438746db;hb=3676d3f21f0e1e2e59cd2fcafc64acccd3782ef9;hp=33a3721f751f9268a6f653940c72a5a733d016e7;hpb=abd557a42fc13b30b63523e8c148c0e5db13ebc2;p=coloredstderr%2Fcoloredstderr.git diff --git a/tests/lib.sh b/tests/lib.sh index 33a3721..90a7db3 100644 --- a/tests/lib.sh +++ b/tests/lib.sh @@ -1,6 +1,6 @@ # Library for the test suite. -# Copyright (C) 2013 Simon Ruderich +# Copyright (C) 2013-2014 Simon Ruderich # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -20,6 +20,7 @@ set -e # Allow running the script directly without running `make check`. test "x$builddir" = x && builddir=. +test "x$abs_builddir" = x && abs_builddir="`pwd`" test "x$EGREP" = x && EGREP='grep -E' # The tests fail if running under coloredstderr because the tests redirect