My car has failed inspection 4 times. on 2002 Volvo C70

The first time the car failes inspection due to emission problem, check engine light on. Volvo mechanic fixes problem, all codes are clear. Go back for inspection after driving car 400 miles.Failed! Computer not ready Drove another 500 miles and go back for inspection.Failed! Again computer not ready .I have driven the car more than 2000 miles and failed again twice. Went back to mechanic and he says there is nothing wrong with the car but computer does not reset. What am I supposed to do? Please help. Thank you.

Asked by for the 2002 Volvo C70
i never let a customer do a drive cycle for there car. we charge 100 dollars but it is the best money you can spend to do it right. only an emissions tech can drive the car the way it needs to set all the monitors.