diff options
Diffstat (limited to 'debian/patches/0014-Tests-Make-sure-that-all-scheduled-jobs-are-finished.patch')
-rw-r--r-- | debian/patches/0014-Tests-Make-sure-that-all-scheduled-jobs-are-finished.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/debian/patches/0014-Tests-Make-sure-that-all-scheduled-jobs-are-finished.patch b/debian/patches/0014-Tests-Make-sure-that-all-scheduled-jobs-are-finished.patch new file mode 100644 index 000000000..a677af5fb --- /dev/null +++ b/debian/patches/0014-Tests-Make-sure-that-all-scheduled-jobs-are-finished.patch @@ -0,0 +1,28 @@ +From: Didier Raboud <odyx@debian.org> +Date: Tue, 9 Aug 2016 18:11:17 +0200 +Subject: Tests: Make sure that all scheduled jobs are finished before + + running a new test. Fixes failures on slow architectures like armel and + mipsel. +Bug-Debian: https://bugs.debian.org/670878 +Patch-Name: tests-wait-on-unfinished-jobs-everytime.patch +--- + test/run-stp-tests.sh | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/test/run-stp-tests.sh b/test/run-stp-tests.sh +index dfa7f6a..173fc86 100755 +--- a/test/run-stp-tests.sh ++++ b/test/run-stp-tests.sh +@@ -776,6 +776,11 @@ echo " $date by $user on `hostname`." >>$strfile + echo " <pre>" >>$strfile + + for file in 5*.sh; do ++ # ++ # Make sure the past jobs are done before going on. ++ # ++ ./waitjobs.sh 1800 ++ + echo $ac_n "Performing $file: $ac_c" + echo "" >>$strfile + echo "`date '+[%d/%b/%Y:%H:%M:%S %z]'` \"$file\":" >>$strfile |