How to override base sequence with virtual sequence from command line using factory?

In reply to ABD_91:

+UVM_TESTNAME already overrides the testname argument supplied to run_test. So if you are going to override the test, use +UVM_TESTNAME=, not +uvm_set_type_override=