dg-extract-results.sh: Fix order of WARNING and following test result.
authorChristophe Lyon <christophe.lyon@linaro.org>
Tue, 5 Mar 2019 16:28:11 +0000 (16:28 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Tue, 5 Mar 2019 16:28:11 +0000 (17:28 +0100)
2019-03-05  Christophe Lyon  <christophe.lyon@linaro.org>

contrib/
* dg-extract-results.sh: Fix order of WARNING and following test
result.

From-SVN: r269393

contrib/ChangeLog
contrib/dg-extract-results.sh

index cd4eef3d507018b97bd0c5400e49058f45905e0f..f3f9428bc933910b972fd4da979685ff6fa83ee6 100644 (file)
@@ -1,3 +1,9 @@
+2019-03-05  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       contrib/
+       * dg-extract-results.sh: Fix order of WARNING and following test
+       result.
+
 2019-02-04  Christophe Lyon  <christophe.lyon@linaro.org>
 
        contrib/
index e9833c1159f8e7495a175ab7959593090c37abbe..86c4246dc9291030f387ef32afd22b098c3469d8 100755 (executable)
@@ -350,6 +350,7 @@ BEGIN {
         if (timeout_cnt != 0) {
           printf "%s %08d|%s program timed out.\n", testname, timeout_cnt, timeout_msg >> curfile
           timeout_cnt = 0
+          cnt = cnt + 1
         }
         printf "%s %08d|", testname, cnt >> curfile
         cnt = cnt + 1