From 501f1428b838bea43e51880d1a83ffd8de6ea755 Mon Sep 17 00:00:00 2001 From: Didier Raboud Date: Tue, 9 Aug 2016 18:11:17 +0200 Subject: [PATCH] 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 Gbp-Pq: Name 0012-Tests-Make-sure-that-all-scheduled-jobs-are-finished.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 "
" >>$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