aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-01-13 19:09:14 +0100
committerTristan Gingold <tgingold@free.fr>2020-01-13 19:09:14 +0100
commite9c0d7658959eeed1e2317e36cc8efd0b19b3fb9 (patch)
tree4ede917e7381a230e0c29bb7aa5d3879bbe6a821
parent1cd6d5aa0563c31b257b6bd9a73c49f72f3638a6 (diff)
downloadghdl-e9c0d7658959eeed1e2317e36cc8efd0b19b3fb9.tar.gz
ghdl-e9c0d7658959eeed1e2317e36cc8efd0b19b3fb9.tar.bz2
ghdl-e9c0d7658959eeed1e2317e36cc8efd0b19b3fb9.zip
testsuite/synth: avoid crash to closed pipe.
-rwxr-xr-xtestsuite/synth/issue1079/testsuite.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/synth/issue1079/testsuite.sh b/testsuite/synth/issue1079/testsuite.sh
index 96710f416..875f6aa57 100755
--- a/testsuite/synth/issue1079/testsuite.sh
+++ b/testsuite/synth/issue1079/testsuite.sh
@@ -2,6 +2,7 @@
. ../../testenv.sh
-synth --out=raw test.vhdl -e | grep -q mem_rd_sync
+synth --out=raw test.vhdl -e > syn_test.raw
+grep -q mem_rd_sync syn_test.raw
echo "Test successful"