Commit Graph

51 Commits

Author SHA1 Message Date
Chris Galvan 1c7f71f93a Updated Atom automated test that uses the PostFX Radius Weight Modifier.
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
2021-08-16 12:13:32 -05:00
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>
2021-08-13 14:16:34 -07:00
Guthrie Adams 633cf818f7 updating test scripts
Signed-off-by: Guthrie Adams <guthadam@amazon.com>
2021-08-11 15:54:13 -05:00
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>
2021-08-11 12:15:31 -07:00
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>
2021-08-11 11:19:22 -07:00
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>
2021-08-09 14:57:52 -07:00
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>
2021-08-03 14:08:59 -07:00
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>
2021-07-28 11:07:32 -07:00
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>
2021-07-16 15:25:48 -07:00
jromnoa 900f37644e fix Atom GPU test by enabling autotest_mode (#2117)
Signed-off-by: jromnoa <jromnoa@amazon.com>
2021-07-12 18:19:41 -07:00
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>
2021-07-12 10:43:07 -07:00
Chris Galvan b9e06e70d9 Fixed copyright header issues per new validator
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
2021-07-02 15:34:04 -05:00
Chris Galvan d7574777a8 Resolved merge conflicts
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
2021-07-02 12:42:44 -05:00
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>
2021-06-30 19:51:55 -07:00
Gene Walters 9814e9dc6c Adding missing o3de copyright headers
Signed-off-by: Gene Walters <genewalt@amazon.com>
2021-06-29 16:31:06 -07:00
Gene Walters 4e14c0069b Merge branch 'upstream/stabilization/2106' into genewalt/gitflow_210628 2021-06-28 19:09:20 -07:00
jromnoa 33801ef925 fixes the nightly GPU test 2021-06-23 14:49:18 -07:00
Steve Pham 70042fcdcd O3DE Copyright Updates for Linux Foundation (#1504) 2021-06-23 10:55:22 -07:00
jromnoa 43b253da56 main suite and not sandbox suite, since the nightly runs the main suite 2021-06-18 15:04:47 -07:00
jromnoa d904f6ab40 adds GPU test to the nightly test runs for o3de 2021-06-18 12:27:16 -07:00
jromnoa 72d394dfca Revert "merging latest main"
This reverts commit 2c6c639ede.
2021-05-25 10:09:08 -07:00
jromnoa 47df212ecd Revert "revert accidental docstring change"
This reverts commit bdedf419b4.
2021-05-25 10:08:51 -07:00
jromnoa bdedf419b4 revert accidental docstring change 2021-05-25 10:08:11 -07:00
jromnoa 2c6c639ede merging latest main 2021-05-25 10:05:55 -07:00
jromnoa e57e1b3ba2 remove testrail info from tests 2021-05-24 18:19:09 -07:00
jromnoa fbb5565fb5 removes hydra idle_wait() calls in an attempt to fix the timeout issue 2021-05-20 13:58:30 -07:00
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>
2021-05-20 14:31:55 +01:00
jromnoa 0dd6d81985 small accidental typo fix 2021-05-18 17:29:24 -07:00
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) 2021-05-18 17:27:42 -07:00
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 2021-05-18 17:19:40 -07:00
jromnoa e0e2600b62 increase test timeout so the nightly debug jobs can pass (profile passes without issue) 2021-05-10 11:43:12 -07:00
jromnoa 401d16b61d Revert "fix bug in LYN-3466 for atom_renderer tests"
This reverts commit e23d2ca7aa.
2021-05-06 17:18:15 -07:00
jromnoa 04c99d8717 typo fix for test classes 2021-05-06 15:23:05 -07:00
jromnoa e23d2ca7aa fix bug in LYN-3466 for atom_renderer tests 2021-05-06 15:19:52 -07:00
Terry Michaels 2fc130d4ab Removed legacy render components (#421)
Removed legacy render components
2021-04-30 15:05:10 -05:00
jromnoa e1b55d8f0a change property call to the new Atom properties for Decal (Atom) 2021-04-27 16:59:53 -07:00
jromnoa 678a831e51 fix expected lines check for Decal (Atom) to go with the update after finding crash bug 2021-04-27 16:40:53 -07:00
jromnoa 019eacc073 fix Decal component name due to crash in SPEC-6561 2021-04-27 16:38:26 -07:00
jromnoa dfb33e5d4f move failing test to sandbox suite while investigation is underway 2021-04-27 11:31:43 -07:00
jromnoa bf70ccaa39 remove unused import 2021-04-26 15:32:29 -07:00
jromnoa 8c54cf8633 increase test timeout and add missing test case IDs 2021-04-26 15:29:49 -07:00
Aaron Ruiz Mora 23dba55c21 Move flaky atom renderer test from main to sandbox test suite 2021-04-26 14:58:03 +01:00
jromnoa 91ec9b4f7e add CMakeLists.txt comment removal (was missed in last commit) 2021-04-23 10:46:35 -07:00
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 2021-04-23 10:42:03 -07:00
jromnoa f2a2286a2c remove GPU requirements, clean up test verification 2021-04-22 19:16:00 -07:00
jromnoa 32d643fe95 enable NullRenderer for test, clean-up some test verifications 2021-04-22 18:17:09 -07:00
jromnoa a9913cc079 remove shadowtest level, swap test to components test instead 2021-04-22 17:34:18 -07:00
jromnoa 22e9abf6a0 add ShadowTest map with its assets and update the hydra test + test scripts with correct paths 2021-04-21 18:09:08 -07:00
jromnoa 7623d28995 update tool_dependencies.cmake, CMakeLists.txt, hydra script 2021-04-21 14:53:02 -07:00
jromnoa ab7f40e991 add AtomTest levels, add some updated test configuration options, still need to debug an error with a tool dependency 2021-04-21 13:11:50 -07:00