Skip to content

Commit 8b3c681

Browse files
committed
Fix msbuild tests.
1 parent cf6386b commit 8b3c681

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/msbuild/Xamarin.MacDev.Tasks.Tests/TaskTests/MergeAppBundleTaskTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ MergeAppBundles CreateTask (string outputBundle, params string [] inputBundles)
6060
var task = CreateTask<MergeAppBundles> ();
6161
task.InputAppBundles = inputItems.ToArray ();
6262
task.OutputAppBundle = outputBundle;
63+
task.SdkDevPath = Configuration.xcode_root;
6364
return task;
6465
}
6566

@@ -98,7 +99,7 @@ public void TestLipoExecutable ()
9899

99100
var outputBundle = Path.Combine (Cache.CreateTemporaryDirectory (), "Merged.app");
100101
var task = CreateTask (outputBundle, bundles);
101-
Assert.IsTrue (task.Execute (), "Task execution");
102+
ExecuteTask (task);
102103

103104
// The bundle should only contain a single file.
104105
Assert.AreEqual (1, Directory.GetFileSystemEntries (outputBundle).Length, "Files in bundle");

0 commit comments

Comments
 (0)