Making the test_all_example_airframes2 target exit when there is an error in the build.

This commit is contained in:
Bernard Davison
2012-02-13 16:52:17 +11:00
parent ac969a079b
commit 49992264e0
+1 -1
View File
@@ -266,7 +266,7 @@ test_all_example_airframes:
$(MAKE) AIRCRAFT=EasyStar_ETS clean_ac ap sim
test_all_example_airframes2:
for ap in `grep name conf/conf.xml.example | sed -e 's/.*name=\"//' | sed -e 's/"//'`; do echo "Making $$ap"; $(MAKE) -C ./ AIRCRAFT=$$ap clean_ac ap.compile; done
for ap in `grep name conf/conf.xml.example | sed -e 's/.*name=\"//' | sed -e 's/"//'`; do echo "Making $$ap"; $(MAKE) -C ./ AIRCRAFT=$$ap clean_ac ap.compile || exit 1; done
commands: paparazzi sw/simulator/launchsitl