summaryrefslogtreecommitdiff
path: root/debian/patches/tests-wait-on-unfinished-jobs-everytime.patch
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2019-09-02 13:19:56 +0200
committerDidier Raboud <odyx@debian.org>2019-09-02 13:19:56 +0200
commite24870dbda03aab6098aa3ed3209136c0d100ed4 (patch)
tree756acf27d9f2d36cb22d8a61c213943290b165f9 /debian/patches/tests-wait-on-unfinished-jobs-everytime.patch
parenta50ef39f953764fa59550beab1af18d03f5d3750 (diff)
Commit patch queue (exported by git-debrebase)debian/2.3.0-1archive/debian/2.3.0-1
[git-debrebase make-patches: export and commit patches]
Diffstat (limited to 'debian/patches/tests-wait-on-unfinished-jobs-everytime.patch')
-rw-r--r--debian/patches/tests-wait-on-unfinished-jobs-everytime.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/debian/patches/tests-wait-on-unfinished-jobs-everytime.patch b/debian/patches/tests-wait-on-unfinished-jobs-everytime.patch
new file mode 100644
index 000000000..f29cb785b
--- /dev/null
+++ b/debian/patches/tests-wait-on-unfinished-jobs-everytime.patch
@@ -0,0 +1,30 @@
+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: http://bugs.debian.org/670878
+Last-Update: 2015-02-10
+
+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 c072ad8..4929820 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