From e616cb243be65dd1b1c5d3a006acb8f7e2d8a3eb Mon Sep 17 00:00:00 2001 From: Gautier Hattenberger Date: Wed, 2 Nov 2022 10:49:16 +0100 Subject: [PATCH] [test] clean ac after runing test (#2944) This might solve the problem of CI server running out of space --- tests/aircrafts/01_compile_all_aircrafts.t | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/aircrafts/01_compile_all_aircrafts.t b/tests/aircrafts/01_compile_all_aircrafts.t index d408f6f8c6..15d0a1c7fa 100644 --- a/tests/aircrafts/01_compile_all_aircrafts.t +++ b/tests/aircrafts/01_compile_all_aircrafts.t @@ -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"); } }