aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue531
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue531')
-rwxr-xr-xtestsuite/gna/issue531/testsuite.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/gna/issue531/testsuite.sh b/testsuite/gna/issue531/testsuite.sh
index cf8d1b71b..56ce69ddc 100755
--- a/testsuite/gna/issue531/testsuite.sh
+++ b/testsuite/gna/issue531/testsuite.sh
@@ -5,7 +5,7 @@
analyze repro1.vhdl
elab sliced_ex
-if ghdl_has_feature sliced_ex vpi; then
+if c_compiler_is_available && ghdl_has_feature sliced_ex vpi; then
$GHDL --vpi-compile -v gcc -c vpi1.c
$GHDL --vpi-link -v gcc -o vpi1.vpi vpi1.o