Which test will run?

In reply to ravi_1822:

Hi Ravi,

+UVM_TESTNAME=rd_test overrides the testname passed using method run_test(“wr_test”).
In your case “rd_test” will get simulated.