Bläddra i källkod

{lyn7677} updated test modules to pass AssetPipelineTests on Linux (#5017)

* {lyn7677} updated test modules to pass AssetPipelineTests on Linux

Fixes for Python AssetPipelineTests modules fail on Linux

Signed-off-by: jackalbe <[email protected]>

* Separating the Linux and Mac concerns

Signed-off-by: jackalbe <[email protected]>
Allen Jackson 3 år sedan
förälder
incheckning
af7bb2332f

+ 3 - 0
AutomatedTesting/Gem/PythonTests/assetpipeline/ap_fixtures/ap_fast_scan_setting_backup_fixture.py

@@ -29,6 +29,9 @@ def ap_fast_scan_setting_backup_fixture(request, workspace) -> PlatformSetting:
     if workspace.asset_processor_platform == 'mac':
         pytest.skip("Mac plist file editing not implemented yet")
 
+    if workspace.asset_processor_platform == 'linux':
+        pytest.skip("Linux system settings not implemented yet")
+
     key = fast_scan_key
     subkey = fast_scan_subkey
 

+ 1 - 1
AutomatedTesting/Gem/PythonTests/assetpipeline/asset_processor_tests/asset_processor_batch_dependency_tests.py

@@ -79,7 +79,7 @@ class TestsAssetProcessorBatch_DependenycyTests(object):
         env = ap_setup_fixture
         BATCH_LOG_PATH = env["ap_batch_log_file"]
         asset_processor.create_temp_asset_root()
-        asset_processor.add_relative_source_asset(os.path.join("Assets", "Engine", "engine_dependencies.xml"))
+        asset_processor.add_relative_source_asset(os.path.join("Assets", "Engine", "Engine_Dependencies.xml"))
         asset_processor.add_scan_folder(os.path.join("Assets", "Engine"))
         asset_processor.add_relative_source_asset(os.path.join("Assets", "Engine", "Libs", "MaterialEffects", "surfacetypes.xml"))