From 9d576bf531282b565ff9ac2268f6be9111a96fce Mon Sep 17 00:00:00 2001 From: Bernard Davison Date: Wed, 6 Jun 2012 22:19:52 +1000 Subject: [PATCH] fixing test errors due to the change from sim to nps. --- tests/examples/01_compile_all_example_targets.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/examples/01_compile_all_example_targets.t b/tests/examples/01_compile_all_example_targets.t index f689ae4562..c434ba82b9 100644 --- a/tests/examples/01_compile_all_example_targets.t +++ b/tests/examples/01_compile_all_example_targets.t @@ -28,7 +28,7 @@ foreach my $example (sort keys%{$examples->{'aircraft'}}) next unless scalar $airframe_config->{'firmware'}->{$process}->{'target'}->{$target}->{'board'}; # Exclude some builds on Mac as they are currently broken. - next if ( ($Config{'osname'} =~ m#darwin#i) and ($example =~ m#LISA_ASCTEC_PIOTR|LisaLv11_Booz2v12_RC|BOOZ2_A1|LisaLv11_Aspirinv15_Overo_RCi|Quad_LisaM|Booz2#i) and ($target =~ m#sim#i) ); + next if ( ($Config{'osname'} =~ m#darwin#i) and ($example =~ m#LISA_ASCTEC_PIOTR|LisaLv11_Booz2v12_RC|BOOZ2_A1|LisaLv11_Aspirinv15_Overo_RCi|Quad_LisaM|Booz2#i) and ($target =~ m#sim|nps#i) ); #warn "EXAMPLE: [$example] TARGET: [$target]\n"; my $make_options = "AIRCRAFT=$example clean_ac $target.compile"; @@ -48,7 +48,7 @@ foreach my $example (sort keys%{$examples->{'aircraft'}}) next unless scalar $airframe_config->{'firmware'}->{$process}->{$target}->{'board'}; # Exclude some builds on Mac as they are currently broken. - next if ( ($Config{'osname'} =~ m#darwin#i) and ($example =~ m#LISA_ASCTEC_PIOTR|LisaLv11_Booz2v12_RC|BOOZ2_A1|LisaLv11_Aspirinv15_Overo_RC|Quad_LisaM|Booz2#i) and ($target =~ m#sim#i) ); + next if ( ($Config{'osname'} =~ m#darwin#i) and ($example =~ m#LISA_ASCTEC_PIOTR|LisaLv11_Booz2v12_RC|BOOZ2_A1|LisaLv11_Aspirinv15_Overo_RC|Quad_LisaM|Booz2#i) and ($target =~ m#sim|nps#i) ); #warn "EXAMPLET: [$example] TARGET: [$target]\n"; my $make_options = "AIRCRAFT=$example clean_ac $target.compile";