You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/AutomatedTesting/Gem/PythonTests
lumberyard-employee-dm 669caca9cc
Updated Launching of Lua Editor to supply the project-path (#7706)
* Updated Launching of Lua Editor to supply the project-path

The Lua Launch logic also uses the AzFramework ProcessLauncher instead
of Qt. This has the benefit of being able to pass arguments as an array
instead of in a single string. Therefore paths with spaces in them also
work.

Tweak the Settings Registry logic to locate the
project-path/engine-path by scanning upwards for a
project.json/engine.json respectively to inject the found paths to the
front of the command line parameters instead of the back.
This has the effect of making sure that command line parameters for the
project-path/engine-path always takes precedence over scanning upwards
for a project.json/engine.json.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Removed prepend of EngineRoot in CheckProjectPathProvided

The Editor would attempt to validate that the project path supplied via
the command line contained a valid project.json file before contining
the Editor startup flow.

This was taking the engine root path and appending the project path to
it, which works when the project path is absolute

But when the project path is relative it is treated as relative to the
current working directory by the SettingsRegistry, but the logic in the
CheckProjectPathProvided was treating it has relative to the engine
root. Therefore supplying a relative path as part of the Editor.exe
launch command would fail.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Fixed resolving of relative paths to absolute paths in the Editor

The Editor was changing the current working directory to the nearest
ancestor directory containing an `engine.json` file.
This resulted in the ConvertToAbsolutePath function resolving relative
paths to that directory instead of the launch directory of the Editor.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
4 years ago
..
AWS Update deployment scripts to support AWSI automation tests on Linux (#7038) 4 years ago
Atom remove unused import 4 years ago
Blast Convert automated tests related to content and unused levels (#7416) 4 years ago
EditorPythonBindings Convert automated tests related to content and unused levels (#7416) 4 years ago
EditorPythonTestTools Convert automated tests related to content and unused levels (#7416) 4 years ago
Multiplayer Merge pull request #7324 from aws-lumberyard-dev/LYN-6769_TestingRPCs_AutonToAuth_ServerToAuth 4 years ago
NvCloth Converted NvCloth automated tests to prefabs (#6253) 4 years ago
Performance [development] automated tests for timing editor loading of the 10k levels (#7472) 4 years ago
Physics Remove error message from InMemorySpawnableAssetContainer (#7499) 4 years ago
Platform Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Prefab Fix prefab/instance name inconsistency issue in automated testing's prefab utils (#7122) 4 years ago
PythonAssetBuilder {lyn8938} looks into the asset database to detect products (#6709) 4 years ago
Terrain Finalizing Terrain automated test conversions to utilize prefab system (#7360) 4 years ago
WhiteBox Updated Launching of Lua Editor to supply the project-path (#7706) 4 years ago
assetpipeline Update default bundle size limit to fit slightly larger content. Longer term we'll want to refactor these tests so they don't start failing to seemingly unrelated upstream changes, but for now this buys us time to work on other, more important things. (#7414) 4 years ago
automatedtesting_shared Prevent unsafe calls to AssetProcessor 4 years ago
editor Fixed platform settings not using unique values for Android and iOS (#7198) 4 years ago
editor_test_testing addressing minor details in feedback 4 years ago
largeworlds Updated image gradient automated test to use new API 4 years ago
scripting Merge pull request #7523 from aws-lumberyard-dev/scripting/xfail_tests 4 years ago
smoke Moving test_CLITool_AssetBuilder_Works to sandbox. (#7438) 4 years ago
streaming Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
CMakeLists.txt [development] automated tests for timing editor loading of the 10k levels (#7472) 4 years ago