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

topdir=../..
. $topdir/testenv.sh

run_symbiyosys -fd work  async_test-0.sby prove

run_symbiyosys -fd work  async_test-1.sby prove || true
if ! grep -q "BMC failed" work/engine_0/logfile.txt; then
    echo "failure expected"
    exit 1
fi

run_symbiyosys -fd work  async_test-2.sby prove || true
if ! grep -q "BMC failed" work/engine_0/logfile.txt; then
    echo "failure expected"
    exit 1
fi

clean
echo OK