X-Git-Url: https://ruderich.org/simon/gitweb/?p=coloredstderr%2Fcoloredstderr.git;a=blobdiff_plain;f=tests%2Flib.sh;h=957ff55ef49a3c1e678f1c65659466a7a41b587f;hp=33a3721f751f9268a6f653940c72a5a733d016e7;hb=8a65b4486febf00e3fad5bafc3773a811e675a4c;hpb=abd557a42fc13b30b63523e8c148c0e5db13ebc2 diff --git a/tests/lib.sh b/tests/lib.sh index 33a3721..957ff55 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-2015 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