Skip to content

Commit

Permalink
Added version log output.
Browse files Browse the repository at this point in the history
  • Loading branch information
Takashi Yoshi committed Apr 22, 2015
1 parent 11eed40 commit 791b24e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/RootPipeTester/RootPipeDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ - (void)initiateAutomatedTestingRunnable { // should be run in a separate thread


// Acquire information about this user's system (mostly for "debugging")
NSDictionary *appInfo = [[NSBundle mainBundle] infoDictionary];
printf("%s %s\n", [(NSString *)[appInfo objectForKey:@"CFBundleName"] UTF8String], [(NSString *)[appInfo objectForKey:@"CFBundleVersion"] UTF8String]);
printf("Running tests as user: %s\n", [NSUserName() UTF8String]);
NSDictionary *systemVersion = [NSDictionary dictionaryWithContentsOfFile:@"/System/Library/CoreServices/SystemVersion.plist"];
printf("%s version: %s (%s)\n",
Expand Down

0 comments on commit 791b24e

Please sign in to comment.