aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-04-16 19:03:15 +0200
committerTristan Gingold <tgingold@free.fr>2019-04-16 19:03:15 +0200
commitbbbf1969105775e658d8d91c99b30f3934cb7275 (patch)
treed74f9631032b4c114c4887f54c9b1dcb02a6250e
parent93570afad886f29339ef6a2c3eca6e9fcaa6a234 (diff)
downloadghdl-bbbf1969105775e658d8d91c99b30f3934cb7275.tar.gz
ghdl-bbbf1969105775e658d8d91c99b30f3934cb7275.tar.bz2
ghdl-bbbf1969105775e658d8d91c99b30f3934cb7275.zip
testenv: add synth command.
-rw-r--r--testsuite/testenv.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/testenv.sh b/testsuite/testenv.sh
index 5e8478195..eec062d78 100644
--- a/testsuite/testenv.sh
+++ b/testsuite/testenv.sh
@@ -101,6 +101,12 @@ elab_simulate_failure ()
$@ --expect-failure
}
+synth()
+{
+ echo "Synthesis of $@"
+ "$GHDL" --synth $@
+}
+
# Check if a feature is present
ghdl_has_feature ()
{