* src/sanity/style.test: Make sure grep supports the options put

into GREP_OPTIONS.
This commit is contained in:
Alexandre Duret-Lutz 2004-11-28 15:25:01 +00:00
parent b61fab1eb0
commit c0ed084e7d
2 changed files with 9 additions and 4 deletions

View file

@ -1,5 +1,8 @@
2004-11-28 Alexandre Duret-Lutz <adl@src.lip6.fr> 2004-11-28 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/sanity/style.test: Make sure grep supports the options put
into GREP_OPTIONS.
* wrap/python/tests/run.in: Define DYLD_LIBRARY_PATH so that * wrap/python/tests/run.in: Define DYLD_LIBRARY_PATH so that
Darwin finds non-installed libraries. Darwin finds non-installed libraries.
Report from Akim Demaille. Report from Akim Demaille.

View file

@ -15,10 +15,12 @@ diag()
rm -f failures rm -f failures
# Get some help from GNU grep. # Get some help from GNU grep.
if (grep --color=auto -n --version)>/dev/null 2>&1; then
GREP_OPTIONS='--color=auto -n' GREP_OPTIONS='--color=auto -n'
GREP_COLOR='1;31' GREP_COLOR='1;31'
export GREP_OPTIONS export GREP_OPTIONS
export GREP_COLOR export GREP_COLOR
fi
tmp=incltest.tmp tmp=incltest.tmp