diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2022-05-17 21:14:58 +0200 |
---|---|---|
committer | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2022-06-18 01:32:16 +0200 |
commit | ea72eb4f0703b16e935dc6f41f54bc94739a18f3 (patch) | |
tree | d8be9b0db22eda93b7e52a9b69fabe015ddde620 /pyGHDL/cli | |
parent | dacb6ca492a1bf0d1b352615c0435826891a0fc0 (diff) | |
download | ghdl-ea72eb4f0703b16e935dc6f41f54bc94739a18f3.tar.gz ghdl-ea72eb4f0703b16e935dc6f41f54bc94739a18f3.tar.bz2 ghdl-ea72eb4f0703b16e935dc6f41f54bc94739a18f3.zip |
Fixed failing sanity checks for pyGHDL.dom in coverage job.
Diffstat (limited to 'pyGHDL/cli')
-rwxr-xr-x | pyGHDL/cli/dom.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pyGHDL/cli/dom.py b/pyGHDL/cli/dom.py index b342b3d9c..20a49d8eb 100755 --- a/pyGHDL/cli/dom.py +++ b/pyGHDL/cli/dom.py @@ -307,6 +307,9 @@ class Application(LineTerminal, ArgParseMixin): for architecture in architectures: entity.Architectures.append(architecture) + if not self._design.Documents: + self.WriteFatal(f"No files processed at all.") + PP = PrettyPrint() buffer = [] |