A group of 25 banks have failed European health checks, while up to 10 of those continue to have a capital shortfall.