Closed rukekre closed 2 years ago
glTF unit tests were failing on the build system when run from the command line, but succeeded when run from the UE editor.
The glTF Export function has been modified to include a mockable version when the unit tests are triggered.
Issues: P58427867
Build system will be not fail on the glTF unit tests anymore. No visible impact to devs.
No
Locally by running the below command from Powershell. Run this command from your Engine > Build > BatchFiles folder.
.\RunUAT.bat BuildCookRun -project="D:\AmbitGithub\AmbitGithub.uproject" -unattended -clean -build -package -nullrhi -nosound -run -editortest "-RunAutomationTest=Ambit.Unit.ConfigImportExport"
:)
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
What was the problem/requirement? (What/Why)
glTF unit tests were failing on the build system when run from the command line, but succeeded when run from the UE editor.
What was the solution? (How)
The glTF Export function has been modified to include a mockable version when the unit tests are triggered.
What artifacts are related to this change?
Issues: P58427867
What is the impact of this change?
Build system will be not fail on the glTF unit tests anymore. No visible impact to devs.
Are you adding any new dependencies to the system?
No
How were these changes tested?
Locally by running the below command from Powershell. Run this command from your Engine > Build > BatchFiles folder.
How does this commit make you feel? (Optional, but encouraged)
:)
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.