ao-bringup: Fail turnon_easymega if accel cal fails
authorKeith Packard <keithp@keithp.com>
Thu, 18 Jun 2015 23:56:19 +0000 (16:56 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 18 Jun 2015 23:56:19 +0000 (16:56 -0700)
This prevents a failing board from being reported as good

Signed-off-by: Keith Packard <keithp@keithp.com>
ao-bringup/turnon_easymega

index b313e16286dd1ee2c83977bdd4535ec031b6c855..632b71e2369671d8b6b46acef74a4f793e6f0622 100755 (executable)
@@ -52,7 +52,7 @@ esac
 
 echo 'E 0' > $dev
 
 
 echo 'E 0' > $dev
 
-../ao-tools/ao-cal-accel/ao-cal-accel $dev
+../ao-tools/ao-cal-accel/ao-cal-accel $dev || exit 1
 
 echo 'E 1' > $dev
 
 
 echo 'E 1' > $dev