mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-31 03:57:45 +08:00
Chaning how the verbosity of the tests is set.
This commit is contained in:
@@ -8,6 +8,9 @@ use Program;
|
|||||||
$|++;
|
$|++;
|
||||||
my $examples = XMLin("$ENV{'PAPARAZZI_SRC'}/conf/conf.xml.example");
|
my $examples = XMLin("$ENV{'PAPARAZZI_SRC'}/conf/conf.xml.example");
|
||||||
|
|
||||||
|
use Data::Dumper;
|
||||||
|
warn Dumper(\%ENV);
|
||||||
|
|
||||||
ok(1, "Parsed the example file");
|
ok(1, "Parsed the example file");
|
||||||
foreach my $example (sort keys%{$examples->{'aircraft'}})
|
foreach my $example (sort keys%{$examples->{'aircraft'}})
|
||||||
{
|
{
|
||||||
@@ -19,10 +22,10 @@ foreach my $example (sort keys%{$examples->{'aircraft'}})
|
|||||||
{
|
{
|
||||||
my $make_upload_options = "AIRCRAFT=$example $target.compile";
|
my $make_upload_options = "AIRCRAFT=$example $target.compile";
|
||||||
my $upload_output = run_program(
|
my $upload_output = run_program(
|
||||||
"Attempting to build the firmware $target for the airframe $example.",
|
"Attempting to build the firmware $target for the airframe $example.",
|
||||||
$ENV{'PAPARAZZI_SRC'},
|
$ENV{'PAPARAZZI_SRC'},
|
||||||
"make $make_upload_options",
|
"make $make_upload_options",
|
||||||
0,1);
|
$ENV->{'TEST_VERBOSE'},1);
|
||||||
unlike($upload_output, '/Error/i', "The upload output does not contain the word \"Error\"");
|
unlike($upload_output, '/Error/i', "The upload output does not contain the word \"Error\"");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user