restoring physx joint typed tests on all platforms (#5836)
Signed-off-by: amzn-sean <75276488+amzn-sean@users.noreply.github.com>
This commit is contained in:
@@ -182,14 +182,6 @@ if(PAL_TRAIT_BUILD_TESTS_SUPPORTED)
|
||||
Gem::LmbrCentral
|
||||
)
|
||||
|
||||
if(PAL_TRAIT_JOINTS_TYPED_TEST_CASE)
|
||||
ly_add_source_properties(
|
||||
SOURCES Tests/PhysXJointsTest.cpp
|
||||
PROPERTY COMPILE_DEFINITIONS
|
||||
VALUES ENABLE_JOINTS_TYPED_TEST_CASE
|
||||
)
|
||||
endif()
|
||||
|
||||
ly_add_googletest(
|
||||
NAME Gem::PhysX.Tests
|
||||
)
|
||||
|
||||
@@ -7,5 +7,3 @@
|
||||
#
|
||||
|
||||
set(PAL_TRAIT_PHYSX_SUPPORTED TRUE)
|
||||
set(PAL_TRAIT_JOINTS_TYPED_TEST_CASE FALSE)
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#
|
||||
|
||||
set(PAL_TRAIT_PHYSX_SUPPORTED TRUE)
|
||||
set(PAL_TRAIT_JOINTS_TYPED_TEST_CASE FALSE)
|
||||
|
||||
if(PAL_TRAIT_BUILD_HOST_TOOLS)
|
||||
ly_associate_package(PACKAGE_NAME poly2tri-7f0487a-rev1-linux TARGETS poly2tri PACKAGE_HASH b16eef8f0bc469de0e3056d28d7484cf42659667e39b68b239f0d3a4cbb533d0)
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#
|
||||
|
||||
set(PAL_TRAIT_PHYSX_SUPPORTED TRUE)
|
||||
set(PAL_TRAIT_JOINTS_TYPED_TEST_CASE FALSE)
|
||||
|
||||
if(PAL_TRAIT_BUILD_HOST_TOOLS)
|
||||
ly_associate_package(PACKAGE_NAME poly2tri-7f0487a-rev1-mac TARGETS poly2tri PACKAGE_HASH 23e49e6b06d79327985d17b40bff20ab202519c283a842378f5f1791c1bf8dbc)
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#
|
||||
|
||||
set(PAL_TRAIT_PHYSX_SUPPORTED TRUE)
|
||||
set(PAL_TRAIT_JOINTS_TYPED_TEST_CASE TRUE)
|
||||
|
||||
if(PAL_TRAIT_BUILD_HOST_TOOLS)
|
||||
ly_associate_package(PACKAGE_NAME poly2tri-7f0487a-rev1-windows TARGETS poly2tri PACKAGE_HASH 5fea2bf294e5130e0654fbfa39f192e6369f3853901dde90bb9b3f3a11edcb1e)
|
||||
|
||||
@@ -7,4 +7,3 @@
|
||||
#
|
||||
|
||||
set(PAL_TRAIT_PHYSX_SUPPORTED TRUE)
|
||||
set(PAL_TRAIT_JOINTS_TYPED_TEST_CASE FALSE)
|
||||
|
||||
@@ -267,8 +267,6 @@ namespace PhysX
|
||||
EXPECT_GT(followerEndPosition.GetZ(), followerPosition.GetZ());
|
||||
}
|
||||
|
||||
// for some reason TYPED_TEST_CASE with the fixture is not working on Android + Linux
|
||||
#ifdef ENABLE_JOINTS_TYPED_TEST_CASE
|
||||
template<class JointConfigurationType>
|
||||
class PhysXJointsApiTest : public PhysX::GenericPhysicsInterfaceTest
|
||||
{
|
||||
@@ -347,5 +345,4 @@ namespace PhysX
|
||||
|
||||
EXPECT_GT(childCurrentPos.GetX(), this->m_childInitialPos.GetX());
|
||||
}
|
||||
#endif // ENABLE_JOINTS_TYPED_TEST_CASE
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user