aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/README
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/README
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/README')
-rw-r--r--testsuite/gna/README2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/gna/README b/testsuite/gna/README
index d5af291ac..293122f0c 100644
--- a/testsuite/gna/README
+++ b/testsuite/gna/README
@@ -24,7 +24,7 @@ Here are some tips for portability.
they aren't (SIGPIPE doesn't exist) and reports errors.
So avoid program that may exit before reading all the input:
* instead of 'grep -q xxx', use 'grep xxx > /dev/null'
-- reference files use unix end of line. Use 'diff --strip-trailing-cr' to
+- reference files use unix end of line. Use 'diff_nocr' (from testenv.sh) to
compare expected output with a reference file.
- don't forget that executable files have a .exe suffix on windows, but most
cygwin tools transparently add the suffix.