Skip to content

Commit

Permalink
Merge branch 'main' into xcode13.0-accessibility-b1
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelkang committed Jun 24, 2021
2 parents 0f5b82c + 4914136 commit 6ee7efb
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 8 deletions.
4 changes: 4 additions & 0 deletions src/uniformtypeidentifiers.cs
Expand Up @@ -275,6 +275,10 @@ interface UTTypes {
[Field ("UTTypePHPScript")]
UTType PhpScript { get; }

[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
[Field ("UTTypeMakefile")]
UTType Makefile { get; }

[Field ("UTTypeJSON")]
UTType Json { get; }

Expand Down
4 changes: 2 additions & 2 deletions tests/common/ExecutionHelper.cs
Expand Up @@ -78,7 +78,7 @@ public static int Execute (string fileName, IList<string> arguments, out bool ti
var rv = Execution.RunWithStringBuildersAsync (fileName, arguments, workingDirectory: workingDirectory, environment: environment_variables, standardOutput: stdout, standardError: stderr, timeout: timeout).Result;
timed_out = rv.TimedOut;
if (rv.TimedOut)
Console.WriteLine ($"Command '{fileName} {StringUtils.FormatArguments (arguments)}' didn't finish in {timeout.Value.TotalMilliseconds} minutes, and was killed.", timeout.Value.TotalMinutes);
Console.WriteLine ($"Command '{fileName} {StringUtils.FormatArguments (arguments)}' didn't finish in {timeout.Value.TotalMilliseconds} ms, and was killed.", timeout.Value.TotalMinutes);
return rv.ExitCode;
}

Expand All @@ -92,7 +92,7 @@ public static int Execute (string fileName, IList<string> arguments, out bool ti
var rv = Execution.RunWithCallbacksAsync (fileName, arguments, workingDirectory: workingDirectory, environment: environment_variables, standardOutput: stdout_callback, standardError: stderr_callback, timeout: timeout).Result;
timed_out = rv.TimedOut;
if (rv.TimedOut)
Console.WriteLine ($"Command '{fileName} {StringUtils.FormatArguments (arguments)}' didn't finish in {timeout.Value.TotalMilliseconds} minutes, and was killed.", timeout.Value.TotalMinutes);
Console.WriteLine ($"Command '{fileName} {StringUtils.FormatArguments (arguments)}' didn't finish in {timeout.Value.TotalMilliseconds} ms, and was killed.", timeout.Value.TotalMinutes);
return rv.ExitCode;
}

Expand Down
1 change: 0 additions & 1 deletion tests/xtro-sharpie/MacCatalyst-UniformTypeIdentifiers.todo

This file was deleted.

1 change: 0 additions & 1 deletion tests/xtro-sharpie/iOS-UniformTypeIdentifiers.todo

This file was deleted.

1 change: 0 additions & 1 deletion tests/xtro-sharpie/macOS-UniformTypeIdentifiers.todo

This file was deleted.

1 change: 0 additions & 1 deletion tests/xtro-sharpie/tvOS-UniformTypeIdentifiers.todo

This file was deleted.

1 change: 0 additions & 1 deletion tests/xtro-sharpie/watchOS-UniformTypeIdentifiers.todo

This file was deleted.

2 changes: 1 addition & 1 deletion tools/common/Execution.cs
Expand Up @@ -118,7 +118,7 @@ public Task<Execution> RunAsync ()
if (Timeout.HasValue) {
if (!p.WaitForExit ((int) Timeout.Value.TotalMilliseconds)) {
Log?.WriteLine ($"Command '{p.StartInfo.FileName} {p.StartInfo.Arguments}' didn't finish in {Timeout.Value.TotalMilliseconds} minutes, and will be killed.");
Log?.WriteLine ($"Command '{p.StartInfo.FileName} {p.StartInfo.Arguments}' didn't finish in {Timeout.Value.TotalMilliseconds} ms, and will be killed.");
TimedOut = true;
try {
p.Kill ();
Expand Down

0 comments on commit 6ee7efb

Please sign in to comment.