# Reading UVM library code of run\_test()

**URL:** <https://verificationacademy.com/forums/t/reading-uvm-library-code-of-run-test/36418>\
**Category:** UVM\
**Tags:** UVM, run\_test\
**Created:** [August 15, 2019, 3:51pm UTC](https://verificationacademy.com/forums/t/reading-uvm-library-code-of-run-test/36418 "2019-08-15T15:51:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tsb\_matumoto](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/t/ce7236/32.png) [@tsb\_matumoto](https://verificationacademy.com/forums/u/tsb_matumoto)\
**Post date:** [August 15, 2019, 3:51pm UTC](https://verificationacademy.com/forums/t/reading-uvm-library-code-of-run-test/36418/1 "2019-08-15T15:51:58Z")

</div>

I am reading uvm library code and I have a question about uvm\_root::run\_test();  
In the task, report\_summarize() is called. This is declared in uvm\_report\_object. I could not understand why this task can be called without specifying uvm?report\_object.

```
319 task uvm_root::run_test(string test_name="");
321 uvm_factory factory= uvm_factory::get();
322 bit testname_plusarg;
323 int test_name_count;
324 string test_names[$];
325 string msg;
326 uvm_component uvm_test_top;

```

…  
422 wait (m\_phase\_all\_done == 1);  
424 // clean up after ourselves  
425 phase\_runner\_proc.kill();  
427 **report\_summarize(); // \<===**  
429 if (finish\_on\_completion)  
430 $finish;  
431  
432 endtask  
433

Thank you

---

<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:** [August 15, 2019, 4:54pm UTC](https://verificationacademy.com/forums/t/reading-uvm-library-code-of-run-test/36418/2 "2019-08-15T16:54:56Z")

</div>

_In reply to [tsb\_matumoto](https://verificationacademy.com/forums/t/reading-uvm-library-code-of-run-test/36418):_

uvm\_root extends uvm\_component extents uvm\_report\_object.

---

<div class="post-metadata">

**Author:** ![tsb\_matumoto](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/t/ce7236/32.png) [@tsb\_matumoto](https://verificationacademy.com/forums/u/tsb_matumoto)\
**Post date:** [August 16, 2019, 12:37am UTC](https://verificationacademy.com/forums/t/reading-uvm-library-code-of-run-test/36418/3 "2019-08-16T00:37:43Z")

</div>

_In reply to [dave\_59](https://verificationacademy.com/forums/t/reading-uvm-library-code-of-run-test/36418/2):_

Oh! I got. Thanks!
