Package: ghdl / 5.0.1+dfsg-1

fix-testsuite-stderr-output Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Fix stderr output of testsuite/suite_driver.sh
 The testsuite driver script prints an informational message about the number
 of test workers it is running on stderr. However, any output on stderr during
 the test run is considered a failure by autopkgtest which causes the testsuite
 to never complete successfully. This patch changes it to simply print to
 stdout instead.
Author: Andreas Bombe <aeb@debian.org>
Forwarded: not-needed
Last-Update: 2023-10-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/testsuite/suite_driver.sh
+++ b/testsuite/suite_driver.sh
@@ -59,7 +59,7 @@
   printf '' > failures.log
 
   if command -v xargs >/dev/null 2>&1 && [ "$NPROC" != 1 ]; then
-    echo "..Running with $NPROC test workers.">&2
+    echo "..Running with $NPROC test workers."
     ndirs=$(printf '%s\n' $dirs | wc -l)
     echo $dirs | DO_ALLRUN=0 xargs -P"$NPROC" -n$((1 + ndirs / NPROC)) sh -c \
       's=$1; _suite=$2 full=$3; shift 3; . "$s";