Commit Graph

57 Commits (26d277cc14926f9f41291500634e0cac7147d538)

Author SHA1 Message Date
jromnoa a5f9cc2d61 use wait_for_condition() on newly created material cache files and wait for them to exist before continuing to prevent race condition
Signed-off-by: jromnoa <jromnoa@amazon.com>
4 years ago
jromnoa cce532c99e remove EDITOR_TIMEOUT constant and manually enter each time value, sets an example for future patterns to NOT use a constant for this value
Signed-off-by: jromnoa <jromnoa@amazon.com>
4 years ago
jromnoa 0ae25fe7e7 add extra timeout value as well as some extra time.sleep() calls in an attempt to fix the test (seems race condition related)
Signed-off-by: jromnoa <jromnoa@amazon.com>
4 years ago
jromnoa 9f55212a19
Adds MaterialEditor RHI launch tests (#3558)
* adds MaterialEditor RHI launch tests

* add explicit editor_script parameter to the launch_and_validate_results() call

Signed-off-by: jromnoa <jromnoa@amazon.com>
4 years ago
Guthrie Adams 5169e98826 Merge branch 'development' into Atom/guthadam/atomtools_refactor_document_system 4 years ago
Chris Galvan 1c7f71f93a Updated Atom automated test that uses the PostFX Radius Weight Modifier.
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
4 years ago
jromnoa 63a78b906a
fixes light component GPU test AttributeError (I forgot to update atom_component_helper to atom_constants since constants were split from hydra functions into a new module) (#3115)
Signed-off-by: jromnoa <jromnoa@amazon.com>
4 years ago
Guthrie Adams 30fee96c43 Moved material editor document system buses and system components to atom tools framework
Renamed document related buses and components to have generic names
Added a base document class with default implementation from which other application specific documents can be derived to work with the document system
Added document factory function registration to the document system request bus so that each application can specify the type of document it creates
Updated all comments and messaging to only refer to documents, not materials or material documents
Updated material editor and shader management console to conform to the new buses
This will provide a first pass of a common interface for a document management system that can be shared by multiple applications
Corrected status bar message copy and paste errors
Updated all test scripts to use the new buses

Signed-off-by: Guthrie Adams <guthadam@amazon.com>
4 years ago
Guthrie Adams 633cf818f7 updating test scripts
Signed-off-by: Guthrie Adams <guthadam@amazon.com>
4 years ago
smurly 2564e8f8dc
MaterialEditor BasicTests added to AutomatedTesting for AR (#3022)
* MaterialEditor BasicTests added to AutomatedTesting for AR

Signed-off-by: Scott Murray <scottmur@amazon.com>

* launch_and_validate_results adding a waiter.wait_for to the log monitor so the log file exists

Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
jromnoa 6d1bb8e439
Add Light component GPU (screenshot) test to AutomatedTesting nightly o3de runs. (#2923)
* adds the Light component GPU screenshot test to AutomatedTesting

Signed-off-by: jromnoa <jromnoa@amazon.com>

* add LIGHT_TYPE_PROPERTY constant to test script since it is re-used multiple times

Signed-off-by: jromnoa <jromnoa@amazon.com>

* removes redundant f strings, adds LIGHT_COMPONENT and LIGHT_TYPE_PROPERTY constants for re-use, removed formattng errors, increase CMakeLists.txt timeout, add attach_component_to_entity() to hydra_editor_utils.py

Signed-off-by: jromnoa <jromnoa@amazon.com>

* fix ImportError

Signed-off-by: jromnoa <jromnoa@amazon.com>

* moves the LIGHT_TYPES constant to a new file since scripts rely on it that do not have the Editor launched (can't see hydra bindings so failes with ModuleNotFound error)

Signed-off-by: jromnoa <jromnoa@amazon.com>
4 years ago
Cynthia Lin c1a0b5c686
performance benchmarks: Aggregate and report CPU frame times. (#2939)
* Add CaptureCpuFrameTime method to ProfilingCaptureSystemComponent for monitoring CPU performance.

Signed-off-by: Cynthia Lin <cyntlin@amazon.com>

* ly_test_tools: Refactor benchmark data aggregator in preparation for CPU frame times.

Signed-off-by: Cynthia Lin <cyntlin@amazon.com>

* performance benchmarks: Aggregate and report CPU frame times based on JSON data.

Signed-off-by: Cynthia Lin <cyntlin@amazon.com>

* AutomatedTesting: Capture CPU frame time in AtomFeatureIntegrationBenchmark.

Signed-off-by: Cynthia Lin <cyntlin@amazon.com>
4 years ago
jromnoa a0f3379999
Adds Light component tests (non-GPU portion) to AutomatedTesting from AtomTest (#2758)
* Fixed Vegetation Layer Spawner documentation link.

Signed-off-by: Chris Galvan <chgalvan@amazon.com>
Signed-off-by: jromnoa <jromnoa@amazon.com>

* add remaining non-GPU test portions for Light component test

Signed-off-by: jromnoa <jromnoa@amazon.com>

* make non-GPU light component test more robust

Signed-off-by: jromnoa <jromnoa@amazon.com>

* remove redundant logging, convert LIGHT_TYPES from list to dict, remove redundant f-string

Signed-off-by: jromnoa <jromnoa@amazon.com>

Co-authored-by: Chris Galvan <chgalvan@amazon.com>
4 years ago
Cynthia Lin 567b4a7f28
[ATOM-16016] Add initial level for AtomFeatureIntegrationBenchmark to AutomatedTesting. (#2405)
* [ATOM-16016] Add initial level for AtomFeatureIntegrationBenchmark to AutomatedTesting.

Signed-off-by: Cynthia Lin <cyntlin@amazon.com>

* [ATOM-16016] Add new AtomFeatureIntegrationBenchmark to AutomatedTesting.

Signed-off-by: Cynthia Lin <cyntlin@amazon.com>
4 years ago
Steve Pham 38261d0800
Shorten copyright headers by splitting into 2 lines (#2213)
* Updated all copyright headers to split the longer original copyright line into 2 shorter lines

Signed-off-by: Steve Pham <spham@amazon.com>
4 years ago
jromnoa 900f37644e
fix Atom GPU test by enabling autotest_mode (#2117)
Signed-off-by: jromnoa <jromnoa@amazon.com>
4 years ago
jromnoa 6a6aa69762
increase test timeout, if it still times out I need to get RDP access to the node to fix this since a pop-up or alert is halting+timing out automation (#2041)
Signed-off-by: jromnoa <jromnoa@amazon.com>
4 years ago
Chris Galvan b9e06e70d9 Fixed copyright header issues per new validator
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
5 years ago
Chris Galvan d7574777a8 Resolved merge conflicts
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
5 years ago
Steve Pham b4a2edec6a
Final update copyright headers to reference license files at the repo root (#1693)
* Final update copyright headers to reference license files at the repo root

Signed-off-by: spham <spham@amazon.com>

* Fix copyright validator unit tests to support the stale O3DE header scenario

Signed-off-by: spham <spham@amazon.com>
5 years ago
Gene Walters 9814e9dc6c Adding missing o3de copyright headers
Signed-off-by: Gene Walters <genewalt@amazon.com>
5 years ago
Gene Walters 4e14c0069b Merge branch 'upstream/stabilization/2106' into genewalt/gitflow_210628 5 years ago
jromnoa 33801ef925 fixes the nightly GPU test 5 years ago
Steve Pham 70042fcdcd
O3DE Copyright Updates for Linux Foundation (#1504) 5 years ago
jromnoa 43b253da56 main suite and not sandbox suite, since the nightly runs the main suite 5 years ago
jromnoa d904f6ab40 adds GPU test to the nightly test runs for o3de 5 years ago
jromnoa 72d394dfca Revert "merging latest main"
This reverts commit 2c6c639ede.
5 years ago
jromnoa 47df212ecd Revert "revert accidental docstring change"
This reverts commit bdedf419b4.
5 years ago
jromnoa bdedf419b4 revert accidental docstring change 5 years ago
jromnoa 2c6c639ede merging latest main 5 years ago
jromnoa e57e1b3ba2 remove testrail info from tests 5 years ago
jromnoa fbb5565fb5 removes hydra idle_wait() calls in an attempt to fix the timeout issue 5 years ago
AMZN-AlexOteiza 8c35347cfb
Fixed build timeout failures. Added xfail and made pytest timeout to be smaller so CMake doesnt make it to timeout and python does it instead
Co-authored-by: Garcia Ruiz <aljanru@amazon.co.uk>
5 years ago
jromnoa 0dd6d81985 small accidental typo fix 5 years ago
jromnoa 6f22cfd20b fix timeout values for general.idle_wait() and add Trace::Assert check with Trace::Error check, remove the 'failed to open' check (not needed) 5 years ago
jromnoa c3fe375e8f add some extra general.idle_wait() and general.idle_wait_frames() calls to increase test stability to stop race condition / intermittent failure in test 5 years ago
jromnoa e0e2600b62 increase test timeout so the nightly debug jobs can pass (profile passes without issue) 5 years ago
jromnoa 401d16b61d Revert "fix bug in LYN-3466 for atom_renderer tests"
This reverts commit e23d2ca7aa.
5 years ago
jromnoa 04c99d8717 typo fix for test classes 5 years ago
jromnoa e23d2ca7aa fix bug in LYN-3466 for atom_renderer tests 5 years ago
Terry Michaels 2fc130d4ab
Removed legacy render components (#421)
Removed legacy render components
5 years ago
jromnoa e1b55d8f0a change property call to the new Atom properties for Decal (Atom) 5 years ago
jromnoa 678a831e51 fix expected lines check for Decal (Atom) to go with the update after finding crash bug 5 years ago
jromnoa 019eacc073 fix Decal component name due to crash in SPEC-6561 5 years ago
jromnoa dfb33e5d4f move failing test to sandbox suite while investigation is underway 5 years ago
jromnoa bf70ccaa39 remove unused import 5 years ago
jromnoa 8c54cf8633 increase test timeout and add missing test case IDs 5 years ago
Aaron Ruiz Mora 23dba55c21
Move flaky atom renderer test from main to sandbox test suite 5 years ago
jromnoa 91ec9b4f7e add CMakeLists.txt comment removal (was missed in last commit) 5 years ago
jromnoa 811dc9c446 remove unused TestAllComponentsBasicTests class, fix test_case_id markers to be comma separated, lowered CMake timeout to 5 minutes, use existing after_level_load() utility function, remove redundant comments 5 years ago