File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/Microsoft.DotNet.XHarness.Apple/AppOperations Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -361,11 +361,15 @@ private async Task RunDeviceTests(
361361 // We need to check for MT1111 (which means that mlaunch won't wait for the app to exit)
362362 IFileBackedLog aggregatedLog = Log . CreateReadableAggregatedLog ( _mainLog , testReporter . CallbackLog ) ;
363363
364+ // The app output log is not directly accessible.
365+ // Hence, we duplicate the log to the main console log to simplify the UX of failure investigation
366+ IFileBackedLog aggregatedLogAppOutput = Log . CreateReadableAggregatedLog ( _mainLog , appOutputLog ) ;
367+
364368 var result = await RunAndWatchForAppSignal ( ( ) => _processManager . ExecuteCommandAsync (
365369 mlaunchArguments ,
366370 aggregatedLog ,
367- appOutputLog ,
368- appOutputLog ,
371+ aggregatedLogAppOutput ,
372+ aggregatedLogAppOutput ,
369373 timeout ,
370374 envVars ,
371375 cancellationToken : cancellationToken ) ) ;
You can’t perform that action at this time.
0 commit comments