We present a simple and robust technique to retrieve the phase of ultrashort laser pulses, based on a chirped mirror and glass wedges compressor. It uses the compression system itself as a diagnostic tool, thereby making unnecessary the use of complementary diagnostic tools. We used this technique to compress and characterize 7.1 fs laser pulses from an ultrafast laser oscillator.