aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue672
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-06-13 06:58:49 +0200
committerTristan Gingold <tgingold@free.fr>2021-06-13 06:58:49 +0200
commit487e786b744d487f3f5f009d94974d13ee8e0680 (patch)
tree94fbf811f3ee5541b7c7f952ad7f7fd04da419b9 /testsuite/gna/issue672
parent534f7801b470c22fcf61909dd42a9fba920efe34 (diff)
downloadghdl-487e786b744d487f3f5f009d94974d13ee8e0680.tar.gz
ghdl-487e786b744d487f3f5f009d94974d13ee8e0680.tar.bz2
ghdl-487e786b744d487f3f5f009d94974d13ee8e0680.zip
testsuite/testenv.sh (diff_nocr): New wrapper; use it where needed.
Option --strip-trailing-cr is used only on windows.
Diffstat (limited to 'testsuite/gna/issue672')
-rwxr-xr-xtestsuite/gna/issue672/testsuite.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/gna/issue672/testsuite.sh b/testsuite/gna/issue672/testsuite.sh
index fb7eaa96b..59d28b17a 100755
--- a/testsuite/gna/issue672/testsuite.sh
+++ b/testsuite/gna/issue672/testsuite.sh
@@ -10,7 +10,7 @@ if ! simulate --time-resolution=fs sqrtb --stop-time=1us; then
echo "skip --time-resolution tests"
else
simulate --time-resolution=ns sqrtb --stop-time=1us --disp-time | sed -e 's/.*info/info/' > sqrtb.out
- diff --strip-trailing-cr sqrtb.ref sqrtb.out
+ diff_nocr sqrtb.ref sqrtb.out
fi
rm -f sqrtb.out