[test] clean ac after runing test (#2944)

This might solve the problem of CI server running out of space
This commit is contained in:
Gautier Hattenberger
2022-11-02 10:49:16 +01:00
committed by GitHub
parent 6fa9cdfa53
commit e616cb243b
@@ -112,6 +112,9 @@ foreach my $aircraft (sort keys%{$conf->{'aircraft'}})
warn "\nAIRCRAFT=$aircraft target=$target compiled sucessfully but had warnings.\n\n";
}
}
# clean files
run_program("Cleaning files for aircraft $aircraft",
$ENV{'PAPARAZZI_SRC'}, "make AIRCRAFT=$aircraft clean_ac", $ENV{'TEST_VERBOSE'});
ok($exit_status == 0, "Compile aircraft: $aircraft, target: $target");
}
}