diff options
author | Tristan Gingold <tgingold@free.fr> | 2017-11-01 06:25:42 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2017-11-01 06:25:42 +0100 |
commit | 8ff587cb83a79f392fa5314ac73839be512ed5a7 (patch) | |
tree | 503c46037689f01611fff202eeb38cbb646a64aa | |
parent | ff4601afac76e733f6366ed437e09b4e29d8e2b6 (diff) | |
download | ghdl-8ff587cb83a79f392fa5314ac73839be512ed5a7.tar.gz ghdl-8ff587cb83a79f392fa5314ac73839be512ed5a7.tar.bz2 ghdl-8ff587cb83a79f392fa5314ac73839be512ed5a7.zip |
Improve testsuite/gna README.
-rw-r--r-- | testsuite/gna/README | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/testsuite/gna/README b/testsuite/gna/README index f2489f91a..37155ad33 100644 --- a/testsuite/gna/README +++ b/testsuite/gna/README @@ -19,7 +19,25 @@ Here are some tips for portability. compare expected output with a reference file. - don't forget that executable files have a .exe suffix on windows, but most cygwin tools transparently add the suffix. -- For VPI tests, the directory containing the dll file must be added in PATH. - See issue98 for an example. - As a last resort, you can test if you are on Windows: if [ "$OS" = "Windows_NT" ]; then ... + + +VPI tests: on windows the directory containing the DLL file must be added in +PATH. From issue98: +-------------------------------------------------- +if [ "$OS" = "Windows_NT" ]; then + vpi_lib=`$GHDL --vpi-library-dir | sed -e 's!\\\\!/!g' -e 's!^C:!/C!g'` + echo vpi_lib: $vpi_lib + PATH="$PATH:$vpi_lib" +fi +-------------------------------------------------- + +GHDL could be configured without wave dump support. If you need to test ghw, +you should test if the feature is supported. From issue158: +-------------------------------------------------- +if ghdl_has_feature repro ghw; then + simulate repro --wave=repro.ghw + # How to test the ghw ? Use ghwdump ? +fi +-------------------------------------------------- |