Commit Graph

35 Commits

Author SHA1 Message Date
scspaldi 92da291bb4 Changed kill() to protected. Changed references from kill() to stop().
Signed-off-by: scspaldi <scspaldi@amazon.com>
2022-02-02 13:32:10 -08:00
Sean Sweeney 86b397f2bb Merge pull request #6061 from aws-lumberyard-dev/test_logs
Remove remote console flag suppressing game logs in GameLauncher and ServerLauncher apps
2021-12-03 16:13:27 -08:00
evanchia 1cdaf8e95a Merge branch 'development' into test_artifact_collection
Signed-off-by: evanchia <evanchia@amazon.com>
2021-12-02 11:20:43 -08:00
sweeneys fd45a37c7b Restore defaults, clarify comment
Signed-off-by: sweeneys <sweeneys@amazon.com>
2021-12-01 14:13:13 -08:00
sweeneys a5cb5b7f80 Make different launchers handle args the same way, fix missing docstrings
Signed-off-by: sweeneys <sweeneys@amazon.com>
2021-11-30 23:07:29 -08:00
sweeneys bc903f22cd Remove remote console flag suppressing game logs in GameLauncher and ServerLauncher apps
Signed-off-by: sweeneys <sweeneys@amazon.com>
2021-11-30 18:23:36 -08:00
AMZN-stankowi b63064f604 Automated test for bundle mode that creates and mounts a bundle with a level.pak file in it, and verifies that occurs. (#5805)
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>
2021-11-30 11:34:54 -08:00
evanchia 27d2437308 Defaults the LyTestTools TestResults folder to <cmake_build>/Testing. Also removes the default saving of logs on launcher cleanup and automatically saves logs for tests using the editor_test module
Signed-off-by: evanchia <evanchia@amazon.com>
2021-11-18 16:34:06 -08:00
Sean Sweeney ea4bc31b38 Merge pull request #4675 from aws-lumberyard-dev/editor_test_tools_cleanup
Editor test tools cleanup
2021-10-29 15:47:26 -07:00
sweeneys ea325d356c updated defaults in all launchers, with additional unit test
Signed-off-by: sweeneys <sweeneys@amazon.com>
2021-10-21 12:07:43 -07:00
sweeneys a1edb2c4ac Update platform defaults to return a launcher instead of a string
Signed-off-by: sweeneys <sweeneys@amazon.com>
2021-10-21 11:51:47 -07:00
evanchia 64a20c45b5 adding editor integ tests to AR
Signed-off-by: evanchia <evanchia@amazon.com>
2021-10-19 15:51:44 -07:00
Sean Sweeney 1ea472bdeb Merge pull request #4589 from aws-lumberyard-dev/lytt_integ_linux
Platform manager and sanity tests for Linux
2021-10-12 15:11:12 -07:00
Artur K 80db67e90a Remove many unused variables and unused setting files (#4607)
* Remove many unused variables and unused setting files

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove a few more dead config vars

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* fix android test_ConfigureSettings_DefaultValues_SetsValues

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
2021-10-12 17:06:15 -05:00
sweeneys 2034cd3053 Platform manager and sanity tests for Linux
Signed-off-by: sweeneys <sweeneys@amazon.com>
2021-10-08 15:36:52 -07:00
sweeneys f6585a741c docstring updates
Signed-off-by: sweeneys <sweeneys@amazon.com>
2021-09-28 14:55:16 -07:00
sweeneys 09ce73aa44 Initial update for this module's unit tests on Linux
Signed-off-by: sweeneys <sweeneys@amazon.com>
2021-09-22 17:50:38 -07:00
AMZN-AlexOteiza b815c203da (Continuation) Implemented automation paralellization & standarization (#1718)
Engine improvements/fixes

Fixed behavior that made the editor automated test to be sometimes stuck if lost the focus is lost.
Added support for specifying multiple tests to in batch to the editor, this is achieved by passing --runpythontest with the tests separated by ';'
Added new cmdline argument --project-user-path for overriding the user path. This allows to have multiple editors running writing logs and crash logs in different locations.
Moved responsability of exiting after a test finishes/passes out of ExecuteByFilenameAsTest, callers will use the bool return to know if the test passed.
Editor test batch and parallelization implementation:

Now the external python portion of the editor tests will be specified via test specs which will generate the test. Requiring no code. This is almost a data-driven approach.
Tests can be specified as single tests, parallel, batchable or batchable+parallel
Command line arguments for pytest to override the maximum number of editors, disable parallelization or batching.
Automated tests for testing this new editor testing utility

Signed-off-by: Garcia Ruiz <aljanru@amazon.co.uk>

Co-authored-by: Garcia Ruiz <aljanru@amazon.co.uk>
2021-07-22 12:57:23 +02: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
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
amzn-hdoke be519bb36a Allow overriding of AWSAttribution settings to skip consent dialog for automated testing (#1650)
Signed-off-by: dhrudesh <dhrudesh@amazon.com>
2021-06-30 12:17:45 -07:00
Steve Pham 70042fcdcd O3DE Copyright Updates for Linux Foundation (#1504) 2021-06-23 10:55:22 -07:00
amzn-sj b63f2449c9 Remove reference to deleted function 2021-05-19 16:47:40 -07:00
sweeneys 9141221843 Reduce AP race conditions and fix minor bugs 2021-05-13 14:43:30 -07:00
jromnoa a1b4844f6a Merge branch 'main' into Atom/jromnoa/SPEC-6728-fix-material-editor-launcher 2021-05-10 16:30:47 -07:00
jromnoa 757a26825a adds new HOST_OS_GENERIC_EXECUTABLE constant and adds error handling if the executable doesn't exist in the path provided 2021-05-10 16:27:30 -07:00
jromnoa 5885899497 fix tabbing, add WinGenericLauncher class import to ly_test_tools.launchers.__init__ 2021-05-10 14:44:47 -07:00
jromnoa 8766790f48 re-add WinGenericLauncher for custom .exe launchers instead of the hard-coded ones (i.e. able to use 'MaterialEditor.exe' instead of 'Editor.exe' for a WinLauncher class) 2021-05-10 14:28:02 -07:00
evanchia b6890eef5c removed debugging text 2021-05-10 13:36:05 -07:00
evanchia fc03734b41 Fixes dedicated servers in LyTestTools 2021-05-10 13:16:06 -07:00
alexpete 1044dc3da1 Integrating github/staging through commit ab87ed9 2021-04-09 11:27:37 -07:00
Brian Herrera 39f53338bf Merge branch 'main' into LoadPipelineFromGitHub 2021-03-26 17:05:57 -07:00
alexpete 36c4e827bd Integrating latest from github/staging
Integrating up through commit 5e1bdae
2021-03-26 14:32:02 -07:00
Brian Herrera e8bbb5a0d5 Set scripts to be executable
This is required to build on linux/mac
2021-03-26 09:26:12 -07:00
alexpete a10351f38d Initial commit 2021-03-08 14:30:57 -08:00