For a car to pass state smog or emission test it must not have a Check engine light on and moniters must be passed. The vehicles computer does tests when the key is turned on, it does other tests when you are driving the vehicle and to carry out some of these test certain criteria and drive cycle criteria must be met. The correct drive cycle criteria is not met each time you drive the car. You need to know what drive cycle was not met is it evaporitive emission test, EGR, catalytic converter efficiency ect...? The reason for criteria to be met is that otherwise someone could have a check engine light on have the light turned off without fixing the fault, drive straight to the smog station and expect their car to pass the state test.