1pro test_step 2 spawn, 'echo "' $ 3 + '.compile test_step.pro ' + string(10b) $ 4 + 'test_step_helper, a' + string(10b) $ 5 + '.step' + string(10b) $ 6 + 'print, a' + string(10b) $ 7 + '" | ../src/gdl -quiet', out 8 if fix(out[n_elements(out) - 1]) ne 2 then exit, status=1 9end 10 11pro test_step_helper, a 12 a = 1 13 stop 14 a = 2 15 a = 3 16 a = 4 17end 18