aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue450/testsuite.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue450/testsuite.sh')
-rwxr-xr-xtestsuite/gna/issue450/testsuite.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/gna/issue450/testsuite.sh b/testsuite/gna/issue450/testsuite.sh
index 5110fb676..f67324459 100755
--- a/testsuite/gna/issue450/testsuite.sh
+++ b/testsuite/gna/issue450/testsuite.sh
@@ -5,7 +5,7 @@
analyze disptree.vhdl
elab disptree
-if ghdl_has_feature disptree vpi; then
+if c_compiler_is_available && ghdl_has_feature disptree vpi; then
add_vpi_path
$GHDL --vpi-compile -v gcc -c vpi2.c