aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug23165/testsuite.sh
blob: d819a7c8845b1c157fa6b598d42cf701276c4014 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /bin/sh

. ../../testenv.sh

analyze mwe_failing/counter.vhd
analyze mwe_failing/mwe.vhd
elab_simulate mwe --stop-time=100us

analyze mwe_working/counter.vhd
analyze mwe_working/mwe.vhd
if ghdl_has_feature mwe ghw; then
  elab_simulate mwe --stop-time=100us --wave=output.ghw
  rm -f output.ghw
fi

analyze mwe2/mwe.vhd
elab_simulate mwe --stop-time=100us

clean

echo "Test successful"