bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ./test-suite.log


From: Akim Demaille
Subject: Re: ./test-suite.log
Date: Sat, 3 Sep 2022 09:16:02 +0200

Hi,

> Le 4 août 2022 à 19:02, giorgos pap <giorgos551pap@gmail.com> a écrit :
> 
> =====================================
>   GNU Bison 3.8: ./test-suite.log
> =====================================
> 
> # TOTAL: 14
> # PASS:  12
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  2
> # 

Thanks for the report.  I'm installing this.  Cheers!

commit ec9c5556d9b4c18dbd3917b44a3a3e5c94670b5e
Author: Akim Demaille <akim.demaille@gmail.com>
Date:   Sat Sep 3 09:11:20 2022 +0200

    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.

diff --git a/THANKS b/THANKS
index 52092368..d9159fa5 100644
--- a/THANKS
+++ b/THANKS
@@ -82,6 +82,7 @@ Gavin Smith               gavinsmith0123@gmail.com
 Georg Sauthoff            gsauthof@TechFak.Uni-Bielefeld.DE
 George Neuner             gneuner2@comcast.net
 Gilles Espinasse          g.esp@free.fr
+Giorgos Pap               giorgos551pap@gmail.com
 Goran Uddeborg            goeran@uddeborg.se
 Guido Trentalancia        trentalg@aston.ac.uk
 H. Merijn Brand           h.m.brand@hccnet.nl
diff --git a/examples/test b/examples/test
index 45a5d454..738dcae4 100755
--- a/examples/test
+++ b/examples/test
@@ -137,10 +137,13 @@ run ()
     else
       cat out_eff
     fi
+    # Ignore informational messages from the JVM.
     if ! $noerr; then
-       sed -e 's/^/err: /g' \
-           -e 's/Reducing stack by rule .* (line .*):/Reducing stack by rule 
XX (line XXX):/g' \
-           err_eff
+      sed \
+        -e '/^Picked up _JAVA_OPTIONS: /d' \
+        -e 's/Reducing stack by rule .* (line .*):/Reducing stack by rule XX 
(line XXX):/g' \
+        -e 's/^/err: /g' \
+        err_eff
     fi
   } >eff
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]