* Collects failed assets on LyTestTools test failures
Signed-off-by: evanchia <evanchia@amazon.com>
* Changed query to all lines because of current asset logging bug
Signed-off-by: evanchia <evanchia@amazon.com>
* fixes per pr feedback
Signed-off-by: evanchia <evanchia@amazon.com>
* testing removing change for AR failure
Signed-off-by: evanchia <evanchia@amazon.com>
* Moved asset log artifact collection to after the results have been collected
Signed-off-by: evanchia <evanchia@amazon.com>
* Adding debug line to help debug AR failure
Signed-off-by: evanchia <evanchia@amazon.com>
* Made asset log collection non failing
Signed-off-by: evanchia <evanchia@amazon.com>
* moved asset log collection after test result collection
Signed-off-by: evanchia <evanchia@amazon.com>
* changed asset saving to non failing
Signed-off-by: evanchia <evanchia@amazon.com>
* improved logging and comments
Signed-off-by: evanchia <evanchia@amazon.com>
* Automated testing create_backup and restore_backup respects file flags.
Example:
If the file that is to be backed-up is readonly, when restored that file will be readonly.
If the file that is to be backed-up is not readonly, when restored that file will be not readonly.
Fixes an issue that would mark physics setreg files to readonly after running AutomatedTesting when restoring from the backup.
* update LyTestTools tests that use create/restore backup to expect copy2 instead of copy
Signed-off-by: amzn-sean <75276488+amzn-sean@users.noreply.github.com>
* Added an assert to verify AP and AP Batch close on teardown.
Signed-off-by: Rosario Cox <lesaelr@amazon.com>
* Removed ".exe" from assert to ensure it works on any platform
Fixed missing set of parenthesis in the assert
Added "AssetBuilder" to the assert to ensure assetbuilders have closed correctly
Signed-off-by: Rosario Cox <lesaelr@amazon.com>
* Moving the helper function from asset_processor_fixture to asset_processor_utils.
Changed individual process_utils calls into a single call with a list.
Signed-off-by: Rosario Cox <lesaelr@amazon.com>
* Added the missing references.
Signed-off-by: Rosario Cox <lesaelr@amazon.com>
This is a regression test for bundle mode causing the editor to crash if you mount a bundle containing a level.pak file.
Signed-off-by: AMZN-stankowi <4838196+AMZN-stankowi@users.noreply.github.com>
* Make prefab system enabled as default for automated tests
Signed-off-by: chiyenteng <82238204+chiyenteng@users.noreply.github.com>
* Modify auto tests after preventing regset saved into disk after editor main window closed
Signed-off-by: chiyenteng <82238204+chiyenteng@users.noreply.github.com>
* Uncomment xfail
Signed-off-by: chiyenteng <82238204+chiyenteng@users.noreply.github.com>
* Use --regset for editor tests
Signed-off-by: chiyenteng <82238204+chiyenteng@users.noreply.github.com>
* Fixed physics tests on linux
* Fixed unit tests because of new implementation
* Fixed bug in lock, fixed unit tests
Co-authored-by: aljanru <aljanru@uc5564ff5a5ee55.ant.amazon.com>
* Fixed editor log path and improved editor log not found error string
* Renamed any lowercase editor.log to Editor.log
* Fix unit test failures
Signed-off-by: AMZN-AlexOteiza <aljanru@amazon.co.uk>
Co-authored-by: aljanru <aljanru@uc5564ff5a5ee55.ant.amazon.com>
* adding more time via ap_max_activate_time so that the Debug
version of AP-GUI can load all the builder DLLs
Signed-off-by: jackalbe <23512001+jackalbe@users.noreply.github.com>