aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/pyunit/Current.vhdl
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-08-17 10:44:34 +0200
committerumarcor <unai.martinezcorral@ehu.eus>2021-08-23 16:35:36 +0200
commit2488e55caba1c369785a93ab2578c4a1e0c40c65 (patch)
treeeb6ec11eb8f67e264644e13aec3bcbda4b55bd22 /testsuite/pyunit/Current.vhdl
parentc34b020a8c1b6aa5083a637e3e9062c7a71b309a (diff)
downloadghdl-2488e55caba1c369785a93ab2578c4a1e0c40c65.tar.gz
ghdl-2488e55caba1c369785a93ab2578c4a1e0c40c65.tar.bz2
ghdl-2488e55caba1c369785a93ab2578c4a1e0c40c65.zip
Read condition, message and severity from asserts and reports.
Diffstat (limited to 'testsuite/pyunit/Current.vhdl')
-rw-r--r--testsuite/pyunit/Current.vhdl5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/pyunit/Current.vhdl b/testsuite/pyunit/Current.vhdl
index a397e8700..69f324f37 100644
--- a/testsuite/pyunit/Current.vhdl
+++ b/testsuite/pyunit/Current.vhdl
@@ -120,6 +120,11 @@ begin
assert true nor false report "nothing" severity warning or error;
when others =>
end case;
+
+ report "hello" & " " & "world";
+ report "vhdl" severity note;
+ assert true nor false report "nothing";
+ assert true nor false report "nothing" severity warning;
end process;
a <= b;