[gcc-6] 179/401: [ Nicolas Boulenguez ] * debian/ada/confirm_debian_bugs.py: Update for GCC 6. Closes: ##832799.

Ximin Luo infinity0 at debian.org
Wed Apr 5 15:48:59 UTC 2017


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch pu/reproducible_builds
in repository gcc-6.

commit 8b6f1f564d0bb6723b1e82072725afe967afa5cc
Author: doko <doko at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date:   Fri Jul 29 09:55:26 2016 +0000

      [ Nicolas Boulenguez ]
      * debian/ada/confirm_debian_bugs.py: Update for GCC 6. Closes: ##832799.
    
    
    git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-6@8925 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
 debian/ada/confirm_debian_bugs.py | 68 ++++++---------------------------------
 debian/changelog                  |  9 +++++-
 2 files changed, 18 insertions(+), 59 deletions(-)

diff --git a/debian/ada/confirm_debian_bugs.py b/debian/ada/confirm_debian_bugs.py
index 9a6e155..7286382 100644
--- a/debian/ada/confirm_debian_bugs.py
+++ b/debian/ada/confirm_debian_bugs.py
@@ -14,13 +14,16 @@ os.environ ['LC_ALL'] = 'C'
 # If == new_version, "reassign" -> "found" and "retitle" -> "fixed".
 # Once the bug tracking system is informed,
 # please update this number.
-old_version = "4.8"
+old_version = "5"
 
 # The current version.
-new_version = "4.9"
-deb_version = \
-    subprocess.check_output (("dpkg", "--status", "gnat-" + new_version)) \
-    .split ("\n") [7] [len ("Version: "):]
+new_version = "6"
+
+for line in subprocess.check_output (("dpkg", "--status", "gnat-" + new_version)).split ("\n"):
+    if line.startswith ("Version: "):
+        deb_version = line [len ("Version: "):]
+        break
+# Will cause an error later if deb_version is not defined.
 
 # Each bug has its own subdirectory in WORKSPACE.
 # Every bug subdir is removed if the bug is confirmed,
@@ -97,13 +100,8 @@ def check_produces_a_faulty_executable (bug, make, sources, regex, trigger):
         else:
             report_and_retitle (bug, "output of the trigger changed (bug fixed?)", output)
 
-def print_skipped (bug, message):
-    print ("# {} skipped: {}".format (bug, message))
-
 ######################################################################
 
-print_skipped (182360, "cannot be reproduced automatically.")
-
 check_reports_an_error_but_should_not (
     bug = 244936,
     make = ("gnatmake", "p"),
@@ -144,7 +142,7 @@ end pak5;
 check_reports_an_error_but_should_not (
     bug = 246187,
     make = ("gnatmake", "test_43"),
-    regex = "Error detected at system.ads:152:5",
+    regex = "Error detected at system.ads:156:5",
     sources = (
         ("test_43.ads", """package Test_43 is
   type T1 is private;
@@ -230,32 +228,6 @@ begin
 end Test_61;
 """),))
 
-check_reports_an_error_but_should_not (
-    bug = 247564,
-    make = ("gnatmake", "test_70"),
-    regex = "in gnat_to_gnu_entity, at ada/gcc-interface/decl\.c:568",
-    sources = (
-        ("test_70.adb", """procedure Test_70 is
-
-   package pak2 is
-      type t2(b2: boolean) is private;
-   private
-      type t2(b2: boolean) is null record;
-   end pak2;
-
-   package pak1 is
-      type T1(b1 : boolean) is private;
-   private
-      type T1(b1 : boolean) is new pak2.t2(b1);
-   end pak1;
-
-   x: pak1.t1(false);
-   b: boolean;
-begin
-   b := x.b1;
-end Test_70;
-"""),))
-
 check_produces_a_faulty_executable (
     bug = 247569,
     make = ("gnatmake", "test_75"),
@@ -508,22 +480,6 @@ end;
 """),))
 
 check_reports_an_error_but_should_not (
-    bug = 251265,
-    make = ("gnatmake", "test_106"),
-    regex = "in Case_Statement_to_gnu, at ada/gcc-interface/trans.c:2366",
-    sources = (
-        ("test_106.adb", """pragma Ada_83;
-procedure Test_106(x: integer) is
-begin
-   case x is
-      when integer'last +1 => null;
-      when 0               => null; -- line 5
-      when others          => null;
-   end case;
-end Test_106;
-"""),))
-
-check_reports_an_error_but_should_not (
     bug = 253737,
     make = ("gnatmake", "test_4"),
     regex = 'test_4.ads:.:01: "pak2" not declared in "pak1"',
@@ -864,7 +820,7 @@ check_reports_an_error_but_should_not (
     bug = 427108,
     make = ("gnatmake", "test1"),
 #     regex = "FAILED",
-    regex = "Program_Error exp_disp.adb:8462 explicit raise",
+    regex = "Program_Error exp_disp.adb:7842 explicit raise",
     sources = (
         ("test1.adb", """-- "For the execution of a call on an inherited subprogram,
 -- a call on the corresponding primitive subprogram of the
@@ -896,10 +852,6 @@ begin
 end Test1;
 """),))
 
-print_skipped (559447, "not handled by this script")
-
-print_skipped (569343, "not handled by this script")
-
 check_reports_an_error_but_should_not (
     bug = 660698,
     make = ("gnatmake", "proc.adb"),
diff --git a/debian/changelog b/debian/changelog
index cc74a23..d5432fe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,11 @@
-gcc-6 (6.1.1-10) UNRELEASED; urgency=medium
+gcc-6 (6.1.1-11) UNRELEASED; urgency=medium
+
+  [ Nicolas Boulenguez ]
+  * debian/ada/confirm_debian_bugs.py: Update for GCC 6. Closes: ##832799.
+
+ -- Matthias Klose <doko at debian.org>  Fri, 29 Jul 2016 11:53:41 +0200
+
+gcc-6 (6.1.1-10) unstable; urgency=medium
 
   * Update to SVN 20160724 (r238695, 6.1.1) from the gcc-6-branch.
     - Fix PR libstdc++/71856, PR libstdc++/71320, PR c++/71214,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/gcc-6.git



More information about the Reproducible-commits mailing list