mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
tests: ignore messages from the JVM
Reported by Giorgos Pap. <https://lists.gnu.org/r/bug-bison/2022-08/msg00002.html> * examples/test: Discard "Picked up _JAVA_OPTIONS:" messages.
This commit is contained in:
1
THANKS
1
THANKS
@@ -82,6 +82,7 @@ Gavin Smith gavinsmith0123@gmail.com
|
|||||||
Georg Sauthoff gsauthof@TechFak.Uni-Bielefeld.DE
|
Georg Sauthoff gsauthof@TechFak.Uni-Bielefeld.DE
|
||||||
George Neuner gneuner2@comcast.net
|
George Neuner gneuner2@comcast.net
|
||||||
Gilles Espinasse g.esp@free.fr
|
Gilles Espinasse g.esp@free.fr
|
||||||
|
Giorgos Pap giorgos551pap@gmail.com
|
||||||
Goran Uddeborg goeran@uddeborg.se
|
Goran Uddeborg goeran@uddeborg.se
|
||||||
Guido Trentalancia trentalg@aston.ac.uk
|
Guido Trentalancia trentalg@aston.ac.uk
|
||||||
H. Merijn Brand h.m.brand@hccnet.nl
|
H. Merijn Brand h.m.brand@hccnet.nl
|
||||||
|
|||||||
@@ -137,10 +137,13 @@ run ()
|
|||||||
else
|
else
|
||||||
cat out_eff
|
cat out_eff
|
||||||
fi
|
fi
|
||||||
|
# Ignore informational messages from the JVM.
|
||||||
if ! $noerr; then
|
if ! $noerr; then
|
||||||
sed -e 's/^/err: /g' \
|
sed \
|
||||||
-e 's/Reducing stack by rule .* (line .*):/Reducing stack by rule XX (line XXX):/g' \
|
-e '/^Picked up _JAVA_OPTIONS: /d' \
|
||||||
err_eff
|
-e 's/Reducing stack by rule .* (line .*):/Reducing stack by rule XX (line XXX):/g' \
|
||||||
|
-e 's/^/err: /g' \
|
||||||
|
err_eff
|
||||||
fi
|
fi
|
||||||
} >eff
|
} >eff
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user