diff --git a/src/alr/alr-commands-test.adb b/src/alr/alr-commands-test.adb index 6fafb9856..dceba0ad0 100644 --- a/src/alr/alr-commands-test.adb +++ b/src/alr/alr-commands-test.adb @@ -317,24 +317,18 @@ package body Alr.Commands.Test is else R.Base_Folder)) with Unreferenced; begin - for Action of R.On_Platform_Actions - (Platform.Properties, - (Alire.Properties.Actions.Test => True, - others => False)) - loop - Alire.Properties.Actions.Executor.Execute_Actions - (Release => R, - Env => Platform.Properties, - Moment => Alire.Properties.Actions.Test, - Capture => True, - Err_To_Out => True, - Code => Exit_Code, - Output => Output); - - if Exit_Code /= 0 then - raise Child_Failed; - end if; - end loop; + Alire.Properties.Actions.Executor.Execute_Actions + (Release => R, + Env => Platform.Properties, + Moment => Alire.Properties.Actions.Test, + Capture => True, + Err_To_Out => True, + Code => Exit_Code, + Output => Output); + + if Exit_Code /= 0 then + raise Child_Failed; + end if; end; end Custom_Test;