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