Skip to content

Commit

Permalink
Ignore tests in IL2CPP.
Browse files Browse the repository at this point in the history
  • Loading branch information
timcassell committed Sep 11, 2023
1 parent a0bece1 commit 31a222b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Package/Tests/CoreTests/APIs/MergeSettledTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,11 @@ private static Promise<ITuple> ConvertPromise<T>(Promise<T> promise)
[Test, TestCaseSource("GetArgs")]
public void MergeSettledWorksProperly(MergeSettledArg[] args)
{
#if ENABLE_IL2CPP
// IL2CPP does not support MakeGenericMethod and MakeGenericType, so disable these tests in the IL2CPP build.
Assert.Ignore("IL2CPP does not support MakeGenericMethod and MakeGenericType reflection.");
#endif

Type[] genericArgTypes = args.Select(arg => arg.Type)
.Where(type => type != null)
.ToArray();
Expand Down

0 comments on commit 31a222b

Please sign in to comment.