Skip to content

Commit e8b8a77

Browse files
authored
[mono][tests] Make sure to log the exit code for library mode tests (#93463)
Fixes dotnet/dnceng#639
1 parent 1e8379d commit e8b8a77

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tasks/AppleAppBuilder/Templates/runtime-librarymode.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ int invoke_netlibrary_entrypoints (void)
7676
chdir (bundle);
7777

7878
int res = invoke_netlibrary_entrypoints ();
79+
// Print the return code so XHarness can detect it in the logs
80+
os_log_info (OS_LOG_DEFAULT, EXIT_CODE_TAG ": %d", res);
7981

8082
exit (res);
8183
}

0 commit comments

Comments
 (0)