Skip to content

Commit

Permalink
Remove tests in IL2CPP.
Browse files Browse the repository at this point in the history
Update to Unity 2021.3.29f1.
  • Loading branch information
timcassell committed Sep 11, 2023
1 parent a0bece1 commit c41f688
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unity-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
}
# Editor uses 2018.4 to test Net3.5 and Net4.x.
# Standalone uses 2019.4 and 2021.3 to test IL2CPP with netstandard 2.0 and netstandard2.1.
unityVersion: [2018.4.36f1, 2019.4.40f1, 2021.3.15f1]
unityVersion: [2018.4.36f1, 2019.4.40f1, 2021.3.29f1]
devMode:
- {
name: devMode,
Expand All @@ -95,7 +95,7 @@ jobs:
}
- {
testMode: { name: Editor },
unityVersion: 2021.3.15f1
unityVersion: 2021.3.29f1
}
# Standalone with IL2CPP can only be built with 2019.4+ (unity-builder docker images constraint), which doesn't support Net3.5.
- {
Expand Down
5 changes: 5 additions & 0 deletions Package/Tests/CoreTests/APIs/MergeSettledTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ public void Teardown()
TestHelper.Cleanup();
}

#if !ENABLE_IL2CPP
// IL2CPP does not support MakeGenericMethod and MakeGenericType, so remove these tests from the IL2CPP build.

private class TupleWrapper : ITuple
{
private readonly ArrayList list = new ArrayList(7);
Expand Down Expand Up @@ -358,6 +361,8 @@ public void MergeSettledWorksProperly(MergeSettledArg[] args)
Assert.IsTrue(invoked);
}

#endif // !ENABLE_IL2CPP

#if PROMISE_PROGRESS
[Test]
public void MergeSettledProgressIsNormalized0(
Expand Down

0 comments on commit c41f688

Please sign in to comment.