Outline Of Diagnosis
WARNING: This page is about a different car, the 2013 Subaru Forester. However, it is still accessible from the selected car via links, so may be relevant.
Detect the open or short circuit of the camshaft position sensor.
When there is no camshaft position signal input continuously, judge as NG.