# Want to have display with TESTPASSED/FAILED kind of messages in my testbench environment

**URL:** <https://verificationacademy.com/forums/t/want-to-have-display-with-testpassed-failed-kind-of-messages-in-my-testbench-environment/28989>\
**Category:** OVM\
**Tags:** test-messages, testbench-environment, OVM\
**Created:** [December 6, 2013, 10:55am UTC](https://verificationacademy.com/forums/t/want-to-have-display-with-testpassed-failed-kind-of-messages-in-my-testbench-environment/28989 "2013-12-06T10:55:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhartahece](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/b/8baadc/32.png) [@bhartahece](https://verificationacademy.com/forums/u/bhartahece)\
**Post date:** [December 6, 2013, 10:55am UTC](https://verificationacademy.com/forums/t/want-to-have-display-with-testpassed-failed-kind-of-messages-in-my-testbench-environment/28989/1 "2013-12-06T10:55:19Z")

</div>

Hi,

I want to get TEST PASSED/FAILED display’s when i run particular testcase.How to get it them displayed.

Where should i add logic for this.

Thanks

---

<div class="post-metadata">

**Author:** ![Ajeetha\_Kumari\_CVC](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/a/a5b964/32.png) [@Ajeetha\_Kumari\_CVC](https://verificationacademy.com/forums/u/Ajeetha_Kumari_CVC)\
**Post date:** [December 7, 2013, 6:11pm UTC](https://verificationacademy.com/forums/t/want-to-have-display-with-testpassed-failed-kind-of-messages-in-my-testbench-environment/28989/2 "2013-12-07T18:11:40Z")

</div>

A very common question, see a scale-able solution at [Verification Course Blog | VeriLog Courses | CVC](http://www.cvcblr.com/blog/?p=381)

You can add that to your env/base\_test.

However remember that this doesn’t capture errors emerging from RTL code itself (if designers have added some $display (“Error”) sort of code). Other common mistake is not to add `uvm\_error in SVA action blocks. So to summarize - if UVM says “FAIL” it is FAIL, but if it says PASS - it may not be fully true, consult your full log file.

HTH  
Ajeetha, CVC

> **[Verification Course Blog | VeriLog Courses | CVC](https://www.cvcblr.com/blog/)**
>
> Read our verification course blog to find out more about what CVC can offer, if you are looking for online courses contact us today.

---

<div class="post-metadata">

**Author:** ![dave\_59](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/dave_59/32/4499_2.png) [@dave\_59](https://verificationacademy.com/forums/u/dave_59)\
**Post date:** [December 8, 2013, 4:46am UTC](https://verificationacademy.com/forums/t/want-to-have-display-with-testpassed-failed-kind-of-messages-in-my-testbench-environment/28989/3 "2013-12-08T04:46:00Z")

</div>

If you are using Questa its Verification Management features, It records the most severe message as part of the UCIS TESTSTATUS attribute, so even if the UVM passes, but there are things like assertion errors, the TESTSTATUS will be set to ERROR.
