We propose to evaluate infrared lenses with a dedicated analyzer having the same mechanical interface as the usual cameras. The proposed analysis is based on a wavefront measurement and allows a diagnostic of possible internal defects of the analyzed lens. The infrared lens analyzer described is constituted with a quadriwave lateral shearing interferometer and works with a blackbody light. We describe the response of this interferometer and an innovative method to obtain the wavefront under test. We finally present the experimental analysis of long-wavelength infrared lenses and the particular case of a modified lens that generates a large spherical aberration.