Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
iMSTK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
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
Ben Boeckel
iMSTK
Commits
23f839ba
Commit
23f839ba
authored
6 years ago
by
Sreekanth Arikatla
Browse files
Options
Downloads
Patches
Plain Diff
ENH: Move the test data download to individual tests
parent
011be7d8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+4
-10
4 additions, 10 deletions
CMakeLists.txt
Source/Collision/CMakeLists.txt
+10
-2
10 additions, 2 deletions
Source/Collision/CMakeLists.txt
with
14 additions
and
12 deletions
CMakeLists.txt
+
4
−
10
View file @
23f839ba
...
...
@@ -381,15 +381,7 @@ install(
# Test data download
#--------------------------------------------------------------------------
include
(
imstkExternalDataDownloadTest
)
#--------------------------------------------------------------------------
# Append external data needed for testing to be downloaded later
#--------------------------------------------------------------------------
list
(
APPEND FILE_LIST
asianDragon/,REGEX:.*
human/,REGEX:.*
oneTet/,REGEX:.*
)
#--------------------------------------------------------------------------
# Add Examples subdirectories
#--------------------------------------------------------------------------
...
...
@@ -400,7 +392,9 @@ endif()
#-----------------------------------------------------------------------------
# Download the external data needed for both testing and examples
#-----------------------------------------------------------------------------
imstk_add_data
(
${
PROJECT_NAME
}
${
FILE_LIST
}
)
if
(
BUILD_TESTING OR BUILD_EXAMPLES
)
imstk_add_data
(
${
PROJECT_NAME
}
${
FILE_LIST
}
)
endif
()
#--------------------------------------------------------------------------
# Innerbuild dummy test
...
...
This diff is collapsed.
Click to expand it.
Source/Collision/CMakeLists.txt
+
10
−
2
View file @
23f839ba
...
...
@@ -15,6 +15,14 @@ imstk_add_library( Collision
# Testing
#-----------------------------------------------------------------------------
if
(
BUILD_TESTING
)
include
(
imstkAddTest
)
imstk_add_test
(
Collision
)
include
(
imstkAddTest
)
list
(
APPEND FILE_LIST_COL_TEST
asianDragon/,REGEX:.*
human/,REGEX:.*
oneTet/,REGEX:.*
)
imstk_add_test
(
Collision
)
imstk_add_data
(
Collision
${
FILE_LIST_COL_TEST
}
)
endif
()
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