Fixed physics periodic tests on linux platform (#6881)
- Fixed path separators, now levels will be correctly opened in linux.
- Fixed casing of physics paths.
- Fixed casing of files inside levels Joints_HingeNoLimitsConstrained and RigidBody_KinematicModeWorks.
- Resaved a level that still used old test ids in its name but the python tests didn't match.
Linux:
Start 21: AutomatedTesting::PhysicsTests_Periodic.periodic::TEST_RUN
8/11 Test #21: AutomatedTesting::PhysicsTests_Periodic.periodic::TEST_RUN .................. Passed 609.87 sec
Windows:
Start 21: AutomatedTesting::PhysicsTests_Periodic.periodic::TEST_RUN
8/13 Test #21: AutomatedTesting::PhysicsTests_Periodic.periodic::TEST_RUN ....................... Passed 810.59 sec
Signed-off-by: moraaar <moraaar@amazon.com>
This commit is contained in:
+2
-4
@@ -252,10 +252,8 @@ def Material_LibraryUpdatedAcrossLevels():
|
||||
for test in test_list:
|
||||
# 1) Open the correct level for the test
|
||||
helper.open_level(
|
||||
"physics",
|
||||
"Material_LibraryUpdatedAcrossLevels\\Material_LibraryUpdatedAcrossLevels_{}".format(
|
||||
test.level_index
|
||||
),
|
||||
"Physics",
|
||||
os.path.join("Material_LibraryUpdatedAcrossLevels", str(test.level_index))
|
||||
)
|
||||
|
||||
# 2) Open Game Mode
|
||||
|
||||
Reference in New Issue
Block a user