You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the newest docker image ghdl/vunit:gcc-mastersha256:35b8034a5102aabcd34c1d87e337b3e071eeb38d3ad23eb21cc93bd479bf1ab2 following code produces error only when commented line is in the file.
test.vhd
library vunit_lib;
context vunit_lib.vunit_context;
entitymwe_parsing_commentsisgeneric (runner_cfg : string);
endentitymwe_parsing_comments;
architecturebehofmwe_parsing_commentsisbeginmain : processbegin
test_runner_setup(runner, runner_cfg);
test_runner_cleanup(runner);
endprocess;
-- Remove following line to compile-- check(false, "max5719 vunit:no response from dac");endarchitecturebeh;
I have no name!@72499ee8c65a:/work$ python3 run.py [7/1680]
WARNING - Entity mwe_parsing_comments has runner_cfg generic but the file name and the entity name does not match regex ^(tb_.*)
|(.*_tb)$
in file /work/test.vhd
Traceback (most recent call last):
File "run.py", line 4, in <module>
testlib.add_source_files("test.vhd")
File "/usr/local/lib/python3.7/dist-packages/vunit_hdl-4.4.1rc0-py3.7.egg/vunit/ui/library.py", line 200, in add_source_files
for file_name in get_checked_file_names_from_globs(pattern, allow_empty)
File "/usr/local/lib/python3.7/dist-packages/vunit_hdl-4.4.1rc0-py3.7.egg/vunit/ui/library.py", line 200, in <listcomp>
for file_name in get_checked_file_names_from_globs(pattern, allow_empty)
File "/usr/local/lib/python3.7/dist-packages/vunit_hdl-4.4.1rc0-py3.7.egg/vunit/ui/library.py", line 260, in add_source_file
self._test_bench_list.add_from_source_file(source_file)
File "/usr/local/lib/python3.7/dist-packages/vunit_hdl-4.4.1rc0-py3.7.egg/vunit/test/bench_list.py", line 37, in add_from_source_file
self._add_test_bench(TestBench(design_unit, self._database))
File "/usr/local/lib/python3.7/dist-packages/vunit_hdl-4.4.1rc0-py3.7.egg/vunit/test/bench.py", line 47, in __init__
self._add_architecture_callback()
File "/usr/local/lib/python3.7/dist-packages/vunit_hdl-4.4.1rc0-py3.7.egg/vunit/test/bench.py", line 57, in _add_architecture_callback
self.scan_tests_from_file(file_name)
File "/usr/local/lib/python3.7/dist-packages/vunit_hdl-4.4.1rc0-py3.7.egg/vunit/test/bench.py", line 201, in scan_tests_from_file
newline="",
File "/usr/local/lib/python3.7/dist-packages/vunit_hdl-4.4.1rc0-py3.7.egg/vunit/cached.py", line 47, in cached
result = function(content)
File "/usr/local/lib/python3.7/dist-packages/vunit_hdl-4.4.1rc0-py3.7.egg/vunit/test/bench.py", line 192, in parse
tests, attributes = _find_tests_and_attributes(content, file_name)
File "/usr/local/lib/python3.7/dist-packages/vunit_hdl-4.4.1rc0-py3.7.egg/vunit/test/bench.py", line 553, in _find_tests_and_attributes
attributes = _find_attributes(content, file_name, line_offsets)
File "/usr/local/lib/python3.7/dist-packages/vunit_hdl-4.4.1rc0-py3.7.egg/vunit/test/bench.py", line 638, in _find_attributes
_find(Attribute, _RE_ATTRIBUTE)
File "/usr/local/lib/python3.7/dist-packages/vunit_hdl-4.4.1rc0-py3.7.egg/vunit/test/bench.py", line 632, in _find
% (name, file_name, location.lineno)
RuntimeError: Invalid attribute 'no' in /work/test.vhd line 20
The text was updated successfully, but these errors were encountered:
Hello,
On the newest docker image
ghdl/vunit:gcc-master
sha256:35b8034a5102aabcd34c1d87e337b3e071eeb38d3ad23eb21cc93bd479bf1ab2
following code produces error only when commented line is in the file.The text was updated successfully, but these errors were encountered: