Skip to content

chore: Fix build test#2139

Merged
ashwinimurt merged 1 commit intodevelopfrom
chore/disable-build-test-on-editor
Aug 22, 2022
Merged

chore: Fix build test#2139
ashwinimurt merged 1 commit intodevelopfrom
chore/disable-build-test-on-editor

Conversation

@ashwinimurt
Copy link
Copy Markdown
Contributor

@ashwinimurt ashwinimurt commented Aug 22, 2022

Build test used to throw an error LogAssert.Expect(LogType.Error, "Error building player because build target was unsupported"); when platform supports are not installed. This error is expected and correct, but it causes UTR to mark the entire suite as Failed on 2021.3 and 2020.3.

So, change the test slightly to build only if buildTargetSupported

https://jira.unity3d.com/browse/MTT-4059

Changelog

  • None

Testing and Documentation

  • CI

@ashwinimurt ashwinimurt requested a review from a team as a code owner August 22, 2022 17:01
@ashwinimurt ashwinimurt force-pushed the chore/disable-build-test-on-editor branch from 39a8d21 to 28c4eae Compare August 22, 2022 17:14
@ashwinimurt ashwinimurt enabled auto-merge (squash) August 22, 2022 22:18
@ashwinimurt ashwinimurt merged commit 63628c7 into develop Aug 22, 2022
@ashwinimurt ashwinimurt deleted the chore/disable-build-test-on-editor branch August 22, 2022 22:40
jakobbbb pushed a commit to GooseGirlGames/com.unity.netcode.gameobjects that referenced this pull request Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants