Large-scale structure tests of warm dark matter