diff options
author | Xiretza <xiretza@xiretza.xyz> | 2022-05-16 19:55:22 +0200 |
---|---|---|
committer | Xiretza <xiretza@xiretza.xyz> | 2022-05-16 19:55:22 +0200 |
commit | a728cb60fb3c9b5df609e2e19c1b3d70b83e0784 (patch) | |
tree | 840957ae02ee747bb54f1684c4543f92bf2025da | |
parent | 5f6eae0920bde575fc36a9661b44adbf0dfec7c7 (diff) | |
download | ghdl-a728cb60fb3c9b5df609e2e19c1b3d70b83e0784.tar.gz ghdl-a728cb60fb3c9b5df609e2e19c1b3d70b83e0784.tar.bz2 ghdl-a728cb60fb3c9b5df609e2e19c1b3d70b83e0784.zip |
fix(testsuite): show diffs on comparison failure
-rwxr-xr-x | testsuite/gna/issue394/testsuite.sh | 2 | ||||
-rwxr-xr-x | testsuite/gna/issue450/testsuite.sh | 2 | ||||
-rwxr-xr-x | testsuite/gna/issue719/testsuite.sh | 2 | ||||
-rwxr-xr-x | testsuite/gna/issue880/testsuite.sh | 4 | ||||
-rwxr-xr-x | testsuite/gna/ticket24/testsuite.sh | 4 |
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 |