The check engine light being on will cause your Subaru to fail the smog check. You should get the fault which is causing the light to remain on fixed prior to getting a smog test. Along with the check engine light being illuminated there are trouble codes within the engine computer which will help the smog technician locate the fault.
posted by SmogTips Support