aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue2123/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-07-04 21:12:17 +0200
committerTristan Gingold <tgingold@free.fr>2022-07-04 21:12:53 +0200
commitda2efff4d82663041c133485eac5c1dcd83c3d43 (patch)
tree93d5e07b5284d8ab8c0c13a09d7971192a542c7c /testsuite/synth/issue2123/testsuite.sh
parentc4f2d8305e6798a530f772887dee3592e872ac53 (diff)
downloadghdl-da2efff4d82663041c133485eac5c1dcd83c3d43.tar.gz
ghdl-da2efff4d82663041c133485eac5c1dcd83c3d43.tar.bz2
ghdl-da2efff4d82663041c133485eac5c1dcd83c3d43.zip
testsuite/synth: add a test for #2123
Diffstat (limited to 'testsuite/synth/issue2123/testsuite.sh')
-rwxr-xr-xtestsuite/synth/issue2123/testsuite.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/synth/issue2123/testsuite.sh b/testsuite/synth/issue2123/testsuite.sh
new file mode 100755
index 000000000..502695e50
--- /dev/null
+++ b/testsuite/synth/issue2123/testsuite.sh
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+synth --out=verilog bug.vhdl -e > syn_bug.v
+
+if grep abs syn_bug.v; then
+ exit 1
+fi
+
+echo "Test successful"