summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb/gdb/0001-add-delay-before-run-exp-file.patch
blob: 1c415622e7d4ac8a393d5bf64f04114ad6328f70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: Add delay for stable running

Author: jack zhang <jack.zhang@enea.com>
Date: Mon, 12 Nov 2012 04:10:20 +0100

Upstream-Status: Pending

Signed-off-by: jack zhang <jack.zhang@enea.com>
Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
---
 gdb/testsuite/dg-extract-results.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gdb/testsuite/dg-extract-results.sh b/gdb/testsuite/dg-extract-results.sh
--- a/gdb/testsuite/dg-extract-results.sh
+++ b/gdb/testsuite/dg-extract-results.sh
@@ -322,6 +322,7 @@ END {
   n=1
   while (n < expfileno) {
     if (expfileseen[expfiles[n]]) {
+      sleep 1
       print "Running "expfiles[n]" ..."
       if (filewritten["${TMP}/list"n]) {
	if (expfileseen[expfiles[n]] == 1)
--
1.7.5.4