aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authortgingold <tgingold@users.noreply.github.com>2022-07-03 21:22:27 +0200
committerGitHub <noreply@github.com>2022-07-03 21:22:27 +0200
commit87caff1d542289f494816489bd01b964df5cfce0 (patch)
tree4d467c3cf6b80392388d405346ffadc17501242f /testsuite
parent2f676555ebf83280788f47f04fb22e7a8bf2b53f (diff)
parenta728cb60fb3c9b5df609e2e19c1b3d70b83e0784 (diff)
downloadghdl-87caff1d542289f494816489bd01b964df5cfce0.tar.gz
ghdl-87caff1d542289f494816489bd01b964df5cfce0.tar.bz2
ghdl-87caff1d542289f494816489bd01b964df5cfce0.zip
Merge pull request #2059 from Xiretza/testsuite-show-diffs
fix(testsuite): show diffs on comparison failure
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/gna/issue394/testsuite.sh2
-rwxr-xr-xtestsuite/gna/issue450/testsuite.sh2
-rwxr-xr-xtestsuite/gna/issue719/testsuite.sh2
-rwxr-xr-xtestsuite/gna/issue880/testsuite.sh4
-rwxr-xr-xtestsuite/gna/ticket24/testsuite.sh4
5 files changed, 7 insertions, 7 deletions
diff --git a/testsuite/gna/issue394/testsuite.sh b/testsuite/gna/issue394/testsuite.sh
index c385e9db5..f1898571b 100755
--- a/testsuite/gna/issue394/testsuite.sh
+++ b/testsuite/gna/issue394/testsuite.sh
@@ -4,7 +4,7 @@
analyze bug.vhdl
elab_simulate bug > out.txt 2> err.txt
-diff_nocr -q out.txt out.ref
+diff_nocr out.txt out.ref
rm -f out.txt err.txt
clean
diff --git a/testsuite/gna/issue450/testsuite.sh b/testsuite/gna/issue450/testsuite.sh
index 590964905..9fd47cd44 100755
--- a/testsuite/gna/issue450/testsuite.sh
+++ b/testsuite/gna/issue450/testsuite.sh
@@ -12,7 +12,7 @@ if c_compiler_is_available && ghdl_has_feature disptree vpi; then
$GHDL --vpi-link -v gcc -o vpi2.vpi vpi2.o
simulate disptree --vpi=./vpi2.vpi | tee disptree.out
- diff_nocr -q disptree.ref disptree.out
+ diff_nocr disptree.ref disptree.out
rm -f vpi2.o vpi2.vpi disptree.out
fi
diff --git a/testsuite/gna/issue719/testsuite.sh b/testsuite/gna/issue719/testsuite.sh
index 4408d6a7e..de327f580 100755
--- a/testsuite/gna/issue719/testsuite.sh
+++ b/testsuite/gna/issue719/testsuite.sh
@@ -3,7 +3,7 @@
. ../../testenv.sh
analyze tb.vhdl 2> tb.out
-diff_nocr -q tb.ref tb.out
+diff_nocr tb.ref tb.out
rm -f tb.out
clean
diff --git a/testsuite/gna/issue880/testsuite.sh b/testsuite/gna/issue880/testsuite.sh
index 1bef788f2..691c6a516 100755
--- a/testsuite/gna/issue880/testsuite.sh
+++ b/testsuite/gna/issue880/testsuite.sh
@@ -8,7 +8,7 @@ elab psl
if ghdl_has_feature psl psl; then
simulate psl --psl-report=psl.out
- if ! diff_nocr psl.out psl.ref > /dev/null; then
+ if ! diff_nocr psl.out psl.ref; then
echo "report mismatch"
exit 1
fi
@@ -24,7 +24,7 @@ elab -fpsl psl
if ghdl_has_feature psl psl; then
simulate psl --psl-report=psl.out
- diff_nocr -q psl.out psl.ref
+ diff_nocr psl.out psl.ref
rm -f psl.out
fi
diff --git a/testsuite/gna/ticket24/testsuite.sh b/testsuite/gna/ticket24/testsuite.sh
index 1bef788f2..691c6a516 100755
--- a/testsuite/gna/ticket24/testsuite.sh
+++ b/testsuite/gna/ticket24/testsuite.sh
@@ -8,7 +8,7 @@ elab psl
if ghdl_has_feature psl psl; then
simulate psl --psl-report=psl.out
- if ! diff_nocr psl.out psl.ref > /dev/null; then
+ if ! diff_nocr psl.out psl.ref; then
echo "report mismatch"
exit 1
fi
@@ -24,7 +24,7 @@ elab -fpsl psl
if ghdl_has_feature psl psl; then
simulate psl --psl-report=psl.out
- diff_nocr -q psl.out psl.ref
+ diff_nocr psl.out psl.ref
rm -f psl.out
fi