Skip to content

Commit b365c63

Browse files
committed
fix(examples/vhdl/array_axis_vcs): use find_prefix_from_path() when determining the backend
1 parent 6a00a8a commit b365c63

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vunit/test/acceptance/test_external_run_scripts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def test_vhdl_json4vhdl_example_project(self):
110110
def test_vhdl_array_example_project(self):
111111
self.check(join(ROOT, "examples", "vhdl", "array", "run.py"))
112112

113-
@unittest.skipIf(GHDLInterface.determine_backend("") == "mcode",
113+
@unittest.skipIf(GHDLInterface.determine_backend(GHDLInterface.find_prefix_from_path()) == "mcode",
114114
"mcode backend does not support interfacing with external C code;\n\
115115
you should use GCC or LLVM backends")
116116
def test_vhdl_array_axis_vcs_example_project(self):

0 commit comments

Comments
 (0)