Building the correct target aircraft for the LisaL/02_With_aspirin_v1.5_and_overo.t test cases.

This commit is contained in:
Bernard Davison
2012-03-21 16:42:44 +11:00
parent 975c8a9c1b
commit b2ec5485e2
2 changed files with 13 additions and 3 deletions
+10
View File
@@ -89,4 +89,14 @@
settings="settings/settings_booz2.xml"
gui_color="white"
/>
<aircraft
name="LisaLv11_Aspirinv15_Overo_RC"
ac_id="9"
airframe="airframes/TestHardware/LisaL_v1.1_aspirin_v1.5_overo_rc.xml"
radio="radios/cockpitSX.xml"
telemetry="telemetry/telemetry_booz2.xml"
flight_plan="flight_plans/dummy.xml"
settings="settings/settings_booz2.xml"
gui_color="white"
/>
</conf>
+3 -3
View File
@@ -9,18 +9,18 @@ $|++;
####################
# Make the airframe
my $make_compile_options = "AIRCRAFT=LisaLv11_Booz2v12_RC clean_ac ap.compile";
my $make_compile_options = "AIRCRAFT=LisaLv11_Aspirinv15_Overo_RC clean_ac ap.compile";
my $compile_output = run_program(
"Attempting to build the firmware.",
$ENV{'PAPARAZZI_SRC'},
"make $make_compile_options",
0,1);
unlike($compile_output, '/Aircraft \'LisaLv11_Booz2v12_RC\' not found in/', "The compile output does not contain the message \"Aircraft \'LisaLv11_Booz2v12_RC\' not found in\"");
unlike($compile_output, '/Aircraft \'LisaLv11_Aspirinv15_Overo_RC\' not found in/', "The compile output does not contain the message \"Aircraft \'LisaLv11_Aspirinv15_Overo_RC\' not found in\"");
unlike($compile_output, '/\bError\b/i', "The compile output does not contain the word \"Error\"");
####################
# Upload the airframe
my $make_upload_options = "AIRCRAFT=LisaLv11_Booz2v12_RC BOARD_SERIAL=LISA-L-000154 ap.upload";
my $make_upload_options = "AIRCRAFT=LisaLv11_Aspirinv15_Overo_RC BOARD_SERIAL=LISA-L-000154 ap.upload";
my $upload_output = run_program(
"Attempting to build and upload the firmware.",
$ENV{'PAPARAZZI_SRC'},