Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Michaël Roynard
gtest-constexpr-ext
Commits
a804c552
Commit
a804c552
authored
Jun 07, 2018
by
Michaël Roynard
Committed by
Michaël Roynard
Jun 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix cmake test target and call unit tests inside pipeline
parent
12225f54
Pipeline
#2156
passed with stage
in 1 minute and 40 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
.gitlab-ci.yml
.gitlab-ci.yml
+4
-0
test/CMakeLists.txt
test/CMakeLists.txt
+1
-1
No files found.
.gitlab-ci.yml
View file @
a804c552
...
...
@@ -45,6 +45,10 @@ stages:
-
cmake --build .
--target $TARGET
--config $RELEASE_TYPE
-
ctest -C $RELEASE_TYPE
--output-on-failure
--schedule-random
--verbose
-
cd ..
-
conan create
--build missing
...
...
test/CMakeLists.txt
View file @
a804c552
add_custom_target
(
tests-compile ALL COMMENT
"Build all the unit tests."
)
add_custom_target
(
tests
EXCLUDE_FROM_ALL
add_custom_target
(
tests
DEPENDS tests-compile
COMMAND
${
CMAKE_CTEST_COMMAND
}
-C
${
CMAKE_CONFIGURATION_TYPES
}
--output-on-failure --schedule-random --verbose
COMMENT
"Build and run all the unit tests."
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment