From 277ca7463070d1250a3168ce01762149bd0fb445 Mon Sep 17 00:00:00 2001 From: Lukas Vik <2767848-LukasVik@users.noreply.gitlab.com> Date: Tue, 17 Nov 2020 11:26:54 +0100 Subject: Skip some test if gcc is not installed --- testsuite/gna/issue1228/testsuite.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite/gna/issue1228') diff --git a/testsuite/gna/issue1228/testsuite.sh b/testsuite/gna/issue1228/testsuite.sh index 1f80a4ab1..67afbcf9e 100755 --- a/testsuite/gna/issue1228/testsuite.sh +++ b/testsuite/gna/issue1228/testsuite.sh @@ -5,7 +5,7 @@ analyze test_load.vhdl elab test_load -if ghdl_has_feature test_load vpi; then +if c_compiler_is_available && ghdl_has_feature test_load vpi; then add_vpi_path $GHDL --vpi-compile -v gcc $CFLAGS -c vpi1.c -- cgit v1.2.3