Support both `cmd.run` and `runtests.run`(if available).