Skip to content

Commit 8000aef

Browse files
committed
BasicApplicationRepetitiveReleaseBuild is mono-only for now
1 parent 79bc4ec commit 8000aef

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/BuildTest2.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,18 @@ public void MarshalMethodsDefaultEnabledStatus (bool isRelease, bool marshalMeth
7777
}
7878
}
7979

80+
// TODO: fix for CoreCLR
81+
// Currently it fails with:
82+
//
83+
// Microsoft.Android.Sdk.AssemblyResolution.targets(198,5): error MSB4096: The item "obj/Release/UnnamedProject.pdb" in item list "ResolvedSymbols" does not define a value for metadata "DestinationSubPath". In order to use this metadata, either qualify it by specifying %(ResolvedSymbols.DestinationSubPath), or ensure that all items in this list define a value for this metadata.
8084
[Test]
8185
public void CompressedWithoutLinker ()
8286
{
8387
var proj = new XamarinAndroidApplicationProject {
8488
IsRelease = true
8589
};
90+
// Mono-only test, at least for now
91+
proj.SetRuntime (AndroidRuntime.MonoVM);
8692
proj.SetProperty (proj.ReleaseProperties, KnownProperties.AndroidLinkMode, AndroidLinkMode.None.ToString ());
8793
using (var b = CreateApkBuilder ()) {
8894
Assert.IsTrue (b.Build (proj), "Build should have succeeded.");

src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/IncrementalBuildTest.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ public void BasicApplicationRepetitiveBuild ()
4141
}
4242
}
4343

44+
// TODO: fix for CoreCLR
45+
// Currently fails with
46+
//
47+
// The target _Sign should have *not* been skipped.
4448
[Test]
4549
public void BasicApplicationRepetitiveReleaseBuild ()
4650
{
@@ -53,6 +57,8 @@ public class Foo {
5357
}
5458
}"
5559
};
60+
// Mono-only test, for now
61+
proj.SetRuntime (AndroidRuntime.MonoVM);
5662
proj.Sources.Add (foo);
5763
Assert.IsTrue (b.Build (proj), "first build failed");
5864
var firstBuildTime = b.LastBuildTime;

0 commit comments

Comments
 (0)