The F-test is asymptotically optimal in linear regression models with unknown distribution of the error