In reply to dave_59:
+UVM_TESTNAME already overrides the testname argument supplied to run_test.
Yes , I am aware of this.
I was curious if instead of +UVM_TESTNAME=TEST , what if user specifies +uvm_set_type_override=base_test,TEST ( as both are run-time arguments ).
I haven’t tested it out but the BCL tells me that the overrides won’t take effect as the Test component is created prior to checking +uvm_set_type_override= and registering the override in factory.
As the switch +uvm_set_type_override= is processed in build_phase() of uvm_root , I was curious how is build_phase() of uvm_root called ?
Is it called via : uvm_phase::m_run_phases()