aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/cli
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2022-05-17 21:14:58 +0200
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2022-06-18 01:32:16 +0200
commitea72eb4f0703b16e935dc6f41f54bc94739a18f3 (patch)
treed8be9b0db22eda93b7e52a9b69fabe015ddde620 /pyGHDL/cli
parentdacb6ca492a1bf0d1b352615c0435826891a0fc0 (diff)
downloadghdl-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-xpyGHDL/cli/dom.py3
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 = []