Partially correct Ivy....
A drive cycle is typically starting up cold, getting it to operating temp, shutting it off and letting it cool down to below whatever threshold the ECU has pertaining to the ECT - thats how the ECU knows when a drive cycle has occured - it looks at the ECT sensor.
Now, what you may need to do, as suggested, is go drive 15-20 minutes because what hasn't been run are the emmisions monitors - which is what the smog station is really checking. Many people are led to believe that simply presenting a car with the CEL out is enough - its not - the emmisions monitors need to have been run and completed.
It sounds like you reset your ECU prior to getting smogged.
EDIT: Wow - just saw your other post - you passed with NO catalytic converter - slick.