aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/attr01/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-04-29 12:01:37 +0200
committerTristan Gingold <tgingold@free.fr>2022-04-29 12:19:22 +0200
commitd2ea6d49cd301ff7bd129bfe39a09b0b14f4dbcc (patch)
treec30ae4b9e842486a4cd75bd61005a5da84fcd628 /testsuite/synth/attr01/testsuite.sh
parentb11fee56745c0cf2121831eec160023aceabf2e4 (diff)
downloadghdl-d2ea6d49cd301ff7bd129bfe39a09b0b14f4dbcc.tar.gz
ghdl-d2ea6d49cd301ff7bd129bfe39a09b0b14f4dbcc.tar.bz2
ghdl-d2ea6d49cd301ff7bd129bfe39a09b0b14f4dbcc.zip
testsuite/synth: add new tests for attributes
Diffstat (limited to 'testsuite/synth/attr01/testsuite.sh')
-rwxr-xr-xtestsuite/synth/attr01/testsuite.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/synth/attr01/testsuite.sh b/testsuite/synth/attr01/testsuite.sh
new file mode 100755
index 000000000..8fd0c9051
--- /dev/null
+++ b/testsuite/synth/attr01/testsuite.sh
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+GHDL_STD_FLAGS=--std=08
+synth_analyze attr01
+grep -q "keep of counter" syn_attr01.vhdl
+clean
+
+synth_analyze attr02
+grep -q "keep of rst" syn_attr02.vhdl
+clean
+
+echo "Test successful"