Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
coal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coal
coal
Commits
d0f4e90f
Unverified
Commit
d0f4e90f
authored
10 months ago
by
Louis Montaut
Browse files
Options
Downloads
Patches
Plain Diff
cmake/test: change function name to reflect library name
parent
71db039e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/CMakeLists.txt
+37
-37
37 additions, 37 deletions
test/CMakeLists.txt
with
37 additions
and
37 deletions
test/CMakeLists.txt
+
37
−
37
View file @
d0f4e90f
...
...
@@ -3,7 +3,7 @@ FIND_PACKAGE(Boost REQUIRED COMPONENTS unit_test_framework filesystem)
config_files
(
fcl_resources/config.h
)
macro
(
add_
f
cl_test test_name source
)
macro
(
add_c
oa
l_test test_name source
)
ADD_UNIT_TEST
(
${
test_name
}
${
source
}
)
target_link_libraries
(
${
test_name
}
PUBLIC
...
...
@@ -17,60 +17,60 @@ macro(add_fcl_test test_name source)
if
(
COAL_HAS_QHULL
)
target_compile_options
(
${
test_name
}
PRIVATE -DCOAL_HAS_QHULL
)
endif
()
endmacro
(
add_
f
cl_test
)
endmacro
(
add_c
oa
l_test
)
include_directories
(
${
CMAKE_CURRENT_BINARY_DIR
}
)
add_library
(
utility STATIC utility.cpp
)
target_link_libraries
(
utility PUBLIC
${
PROJECT_NAME
}
)
add_
f
cl_test
(
math math.cpp
)
add_c
oa
l_test
(
math math.cpp
)
add_
f
cl_test
(
collision collision.cpp
)
add_
f
cl_test
(
contact_patch contact_patch.cpp
)
add_
f
cl_test
(
distance distance.cpp
)
add_
f
cl_test
(
swept_sphere_radius swept_sphere_radius.cpp
)
add_
f
cl_test
(
normal_and_nearest_points normal_and_nearest_points.cpp
)
add_
f
cl_test
(
distance_lower_bound distance_lower_bound.cpp
)
add_
f
cl_test
(
security_margin security_margin.cpp
)
add_
f
cl_test
(
geometric_shapes geometric_shapes.cpp
)
add_
f
cl_test
(
shape_inflation shape_inflation.cpp
)
#add_
f
cl_test(shape_mesh_consistency shape_mesh_consistency.cpp)
add_
f
cl_test
(
gjk_asserts gjk_asserts.cpp
)
add_
f
cl_test
(
frontlist frontlist.cpp
)
add_c
oa
l_test
(
collision collision.cpp
)
add_c
oa
l_test
(
contact_patch contact_patch.cpp
)
add_c
oa
l_test
(
distance distance.cpp
)
add_c
oa
l_test
(
swept_sphere_radius swept_sphere_radius.cpp
)
add_c
oa
l_test
(
normal_and_nearest_points normal_and_nearest_points.cpp
)
add_c
oa
l_test
(
distance_lower_bound distance_lower_bound.cpp
)
add_c
oa
l_test
(
security_margin security_margin.cpp
)
add_c
oa
l_test
(
geometric_shapes geometric_shapes.cpp
)
add_c
oa
l_test
(
shape_inflation shape_inflation.cpp
)
#add_c
oa
l_test(shape_mesh_consistency shape_mesh_consistency.cpp)
add_c
oa
l_test
(
gjk_asserts gjk_asserts.cpp
)
add_c
oa
l_test
(
frontlist frontlist.cpp
)
SET_TESTS_PROPERTIES
(
frontlist PROPERTIES TIMEOUT 7200
)
# add_
f
cl_test(sphere_capsule sphere_capsule.cpp)
add_
f
cl_test
(
capsule_capsule capsule_capsule.cpp
)
add_
f
cl_test
(
box_box_distance box_box_distance.cpp
)
add_
f
cl_test
(
box_box_collision box_box_collision.cpp
)
add_
f
cl_test
(
simple simple.cpp
)
add_
f
cl_test
(
capsule_box_1 capsule_box_1.cpp
)
add_
f
cl_test
(
capsule_box_2 capsule_box_2.cpp
)
add_
f
cl_test
(
obb obb.cpp
)
add_
f
cl_test
(
convex convex.cpp
)
# add_c
oa
l_test(sphere_capsule sphere_capsule.cpp)
add_c
oa
l_test
(
capsule_capsule capsule_capsule.cpp
)
add_c
oa
l_test
(
box_box_distance box_box_distance.cpp
)
add_c
oa
l_test
(
box_box_collision box_box_collision.cpp
)
add_c
oa
l_test
(
simple simple.cpp
)
add_c
oa
l_test
(
capsule_box_1 capsule_box_1.cpp
)
add_c
oa
l_test
(
capsule_box_2 capsule_box_2.cpp
)
add_c
oa
l_test
(
obb obb.cpp
)
add_c
oa
l_test
(
convex convex.cpp
)
add_
f
cl_test
(
bvh_models bvh_models.cpp
)
add_
f
cl_test
(
collision_node_asserts collision_node_asserts.cpp
)
add_
f
cl_test
(
hfields hfields.cpp
)
add_c
oa
l_test
(
bvh_models bvh_models.cpp
)
add_c
oa
l_test
(
collision_node_asserts collision_node_asserts.cpp
)
add_c
oa
l_test
(
hfields hfields.cpp
)
add_
f
cl_test
(
profiling profiling.cpp
)
add_c
oa
l_test
(
profiling profiling.cpp
)
add_
f
cl_test
(
gjk gjk.cpp
)
add_
f
cl_test
(
accelerated_gjk accelerated_gjk.cpp
)
add_
f
cl_test
(
gjk_convergence_criterion gjk_convergence_criterion.cpp
)
add_c
oa
l_test
(
gjk gjk.cpp
)
add_c
oa
l_test
(
accelerated_gjk accelerated_gjk.cpp
)
add_c
oa
l_test
(
gjk_convergence_criterion gjk_convergence_criterion.cpp
)
if
(
COAL_HAS_OCTOMAP
)
add_
f
cl_test
(
octree octree.cpp
)
add_c
oa
l_test
(
octree octree.cpp
)
endif
(
COAL_HAS_OCTOMAP
)
add_
f
cl_test
(
serialization serialization.cpp
)
add_c
oa
l_test
(
serialization serialization.cpp
)
# Broadphase
add_
f
cl_test
(
broadphase broadphase.cpp
)
add_c
oa
l_test
(
broadphase broadphase.cpp
)
set_tests_properties
(
broadphase PROPERTIES WILL_FAIL TRUE
)
add_
f
cl_test
(
broadphase_dynamic_AABB_tree broadphase_dynamic_AABB_tree.cpp
)
add_
f
cl_test
(
broadphase_collision_1 broadphase_collision_1.cpp
)
add_
f
cl_test
(
broadphase_collision_2 broadphase_collision_2.cpp
)
add_c
oa
l_test
(
broadphase_dynamic_AABB_tree broadphase_dynamic_AABB_tree.cpp
)
add_c
oa
l_test
(
broadphase_collision_1 broadphase_collision_1.cpp
)
add_c
oa
l_test
(
broadphase_collision_2 broadphase_collision_2.cpp
)
## Benchmark
add_executable
(
test-benchmark benchmark.cpp
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment