aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug0120/testsuite.sh
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/bug0120/testsuite.sh
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/bug0120/testsuite.sh')
-rwxr-xr-xtestsuite/gna/bug0120/testsuite.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/gna/bug0120/testsuite.sh b/testsuite/gna/bug0120/testsuite.sh
index dc4eed9b0..dd3fcfbe4 100755
--- a/testsuite/gna/bug0120/testsuite.sh
+++ b/testsuite/gna/bug0120/testsuite.sh
@@ -3,9 +3,9 @@
. ../../testenv.sh
$GHDL fmt --std=08 --level=space print1.vhdl > print1.out
-diff --strip-trailing-cr print1.ref print1.out
+diff_nocr print1.ref print1.out
$GHDL fmt --std=08 --range=10:10 print1.vhdl > print2.out
-diff --strip-trailing-cr print2.ref print2.out
+diff_nocr print2.ref print2.out
echo "Test successful"