aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue881/testsuite.sh
blob: 1ec9e0a4db9a2e042914b24a793a07654c28ed56 (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

# See #613

if ! $GHDL --help -a | grep -q time-resolution; then
  echo "option --time-resolution not available"
else
    analyze t87.vhdl
    elab_simulate --time-resolution=ps t87
    elab_simulate --time-resolution=auto t87

    analyze t87io.vhdl
    elab_simulate --time-resolution=ps t87io
    elab_simulate --time-resolution=auto t87io

    clean
fi

echo "Test successful"