diff options
Diffstat (limited to 'testsuite/gna/issue450/testsuite.sh')
-rwxr-xr-x | testsuite/gna/issue450/testsuite.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/gna/issue450/testsuite.sh b/testsuite/gna/issue450/testsuite.sh new file mode 100755 index 000000000..31ada14d0 --- /dev/null +++ b/testsuite/gna/issue450/testsuite.sh @@ -0,0 +1,16 @@ +#! /bin/sh + +. ../../testenv.sh + +$GHDL --vpi-compile -v gcc -c vpi2.c +$GHDL --vpi-link -v gcc -o vpi2.vpi vpi2.o + +analyze disptree.vhdl +elab_simulate disptree --vpi=./vpi2.vpi | tee disptree.out +diff --strip-trailing-cr -q disptree.ref disptree.out + +rm -f vpi2.o vpi2.vpi disptree.out + +clean + +echo "Test successful" |