Disabling illegal bin for specific tests

I wan to disable specific illegal bins for specific tests.

Is there a run time args to disable same?

or any other approach to inactive that bins for that tests ?

You should not be using illegal_bins for general error checking. You should be using the UVM’s reporting system which gives much greater control over the severity of messages, report catching, and log filtering. You can use the UVM’s reporting system with assertions as well.

If you must, you can selectively enable bin construction using the with clause of a bin specification.