aws-samples / aws-ambit-scenario-designer-ue4

AWS Ambit Scenario Designer for Unreal Engine 4 (Ambit) is a suite of tools to streamline content creation at scale for autonomous vehicle and robotics simulation applications.
https://aws-samples.github.io/aws-ambit-scenario-designer-ue4/
Apache License 2.0
85 stars 21 forks source link

Fix build issues with glTF unit tests #20

Closed rukekre closed 2 years ago

rukekre commented 2 years ago

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.

.\RunUAT.bat BuildCookRun -project="D:\AmbitGithub\AmbitGithub.uproject" -unattended -clean -build -package -nullrhi -nosound -run -editortest "-RunAutomationTest=Ambit.Unit.ConfigImportExport"

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.