The limit distribution of the maximum value test statistic in the general case