Skip to content

Commit

Permalink
Add logging to validate file was written to for test listing
Browse files Browse the repository at this point in the history
Differential Revision: D68516703

fbshipit-source-id: 18363d2598c60d3d2e9889eecb454eacec117d5f
  • Loading branch information
Abrar Ahmed authored and facebook-github-bot committed Jan 23, 2025
1 parent 2c82b7b commit 4d5165b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Shims/Shimulator/TestReporterShim/XCTestReporterShim.m
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,7 @@ static void listBundle(NSString *testBundlePath, NSString *outputFile)
// Close the file so the other end knows this is the end of the input.
bool fileClosedSuccessfully = [fileHandle closeAndReturnError:&error];
NSCAssert(fileClosedSuccessfully, @"Failed to close file with test list", error);
NSLog(@"Completed writing test list to %@", outputFile);
exit(TestShimExitCodeSuccess);
}

Expand Down

0 comments on commit 4d5165b

Please sign in to comment.