File: fix-testsuite-stderr-output

package info (click to toggle)
ghdl 5.0.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 86,000 kB
  • sloc: ada: 309,826; vhdl: 209,727; ansic: 31,072; python: 19,213; sh: 14,214; cpp: 2,345; makefile: 1,542; pascal: 585; asm: 45; exp: 40; fortran: 33
file content (22 lines) | stat: -rw-r--r-- 992 bytes parent folder | 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";