Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cbmroot
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
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
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
Computing
cbmroot
Commits
65af14fb
Commit
65af14fb
authored
2 months ago
by
Pierre-Alain Loizeau
Committed by
Florian Uhlig
1 month ago
Browse files
Options
Downloads
Patches
Plain Diff
[CI] Run the installation check both before and after removing the source folder
parent
77232148
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!2064
Add check of installed libraries
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CbmRoot_test.cmake
+5
-1
5 additions, 1 deletion
CbmRoot_test.cmake
with
5 additions
and
1 deletion
CbmRoot_test.cmake
+
5
−
1
View file @
65af14fb
...
@@ -175,10 +175,14 @@ If(NOT _RETVAL)
...
@@ -175,10 +175,14 @@ If(NOT _RETVAL)
RESULTS_VARIABLE _install_ret_value
RESULTS_VARIABLE _install_ret_value
)
)
if
(
NOT _install_ret_value
)
if
(
NOT _install_ret_value
)
message
(
"executing test suite in
${
CTEST_BINARY_DIRECTORY
}
/install with source folder available"
)
execute_process
(
COMMAND
${
CTEST_SOURCE_DIRECTORY
}
/cmake/scripts/execute_installation_test.sh
${
CTEST_SOURCE_DIRECTORY
}
/install
RESULTS_VARIABLE _install_ret_value
)
execute_process
(
COMMAND
${
CMAKE_EXECUTABLE_NAME
}
-E rm -R build MQ algo analysis core external fles mvd reco sim
execute_process
(
COMMAND
${
CMAKE_EXECUTABLE_NAME
}
-E rm -R build MQ algo analysis core external fles mvd reco sim
WORKING_DIRECTORY
${
CTEST_SOURCE_DIRECTORY
}
WORKING_DIRECTORY
${
CTEST_SOURCE_DIRECTORY
}
)
)
message
(
"executing test suite in
${
CTEST_BINARY_DIRECTORY
}
/install"
)
message
(
"executing test suite in
${
CTEST_BINARY_DIRECTORY
}
/install
wihout source folder available
"
)
execute_process
(
COMMAND
${
CTEST_SOURCE_DIRECTORY
}
/cmake/scripts/execute_installation_test.sh
${
CTEST_SOURCE_DIRECTORY
}
/install
execute_process
(
COMMAND
${
CTEST_SOURCE_DIRECTORY
}
/cmake/scripts/execute_installation_test.sh
${
CTEST_SOURCE_DIRECTORY
}
/install
RESULTS_VARIABLE _install_ret_value
RESULTS_VARIABLE _install_ret_value
)
)
...
...
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