aboutsummaryrefslogtreecommitdiff
path: root/scripts/runtests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/runtests.sh')
-rwxr-xr-xscripts/runtests.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/runtests.sh b/scripts/runtests.sh
index 6a2682fa4b7b..452f0e9e06e1 100755
--- a/scripts/runtests.sh
+++ b/scripts/runtests.sh
@@ -10,6 +10,11 @@ do
sh ./${cmd} >${t}.out 2>${t}.err
echo $? >${t}.rc
+ # strip carriage returns from error output
+ # in case we are trying to run on MinGW
+ tr -d ' ' >${t}.xerr <${t}.err
+ mv ${t}.xerr ${t}.err
+
ok=true
for e in out err rc
do