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 cd4eef3..f3f9428 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 e9833c1..86c4246 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