cmCTestRunTest: Consolidate test timeout selection logic Test timeout selection was previously spread out over several locations. Consolidate it in a single place to make it easier to follow.