Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
stitchEm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Franco (nextime) Lanza
stitchEm
Commits
b4e17650
Commit
b4e17650
authored
5 years ago
by
Wieland Morgenstern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: run tests w/ ctest
parent
efb7f687
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
.travis.yml
.travis.yml
+1
-0
ci.dockerfile
docker/ci.dockerfile
+1
-0
CMakeLists.txt
tests/cli_tests/CMakeLists.txt
+2
-0
No files found.
.travis.yml
View file @
b4e17650
...
...
@@ -32,6 +32,7 @@ matrix:
-
cd build
-
cmake -DCREATE_BOX_PACKAGE=OFF -DGPU_BACKEND_CUDA=OFF -DGPU_BACKEND_OPENCL=ON -DAPPLE_BREW=ON -DQt5_DIR=/usr/local/opt/qt/lib/cmake/Qt5 -G Ninja ..
-
ninja
-
ctest -LE cmd --output-on-failure
-
name
:
CUDA 8 Linux
dist
:
xenial
services
:
...
...
This diff is collapsed.
Click to expand it.
docker/ci.dockerfile
View file @
b4e17650
...
...
@@ -7,3 +7,4 @@ RUN echo ${CUDA_SHORT} > cuda.version
WORKDIR build
RUN cmake -DCMAKE_BUILD_TYPE=Release -DLINUX_PKG=ON -DRTMP_NVENC=OFF -DCUDA_TARGET_ARCH="50" -G Ninja ..
RUN ninja
RUN ctest -LE cmd --output-on-failure
This diff is collapsed.
Click to expand it.
tests/cli_tests/CMakeLists.txt
View file @
b4e17650
...
...
@@ -9,6 +9,7 @@ function(add_cli_tests TESTS_TO_ADD)
COMMAND
"behave"
-t=-slow -D
"BIN=
${
CMAKE_RUNTIME_OUTPUT_DIRECTORY
}
"
-D GPU=
${
GPU_BACKEND_DEFAULT
}
"features/
${
test
}
"
)
set_property
(
TEST
${
test
}
PROPERTY RUN_SERIAL TRUE
)
set_property
(
TEST
${
test
}
PROPERTY FOLDER
"cli tests"
)
set_property
(
TEST
${
test
}
PROPERTY LABELS
"cmd"
)
endforeach
()
endfunction
(
add_cli_tests TESTS_TO_ADD
)
function
(
add_slow_cli_tests TESTS_TO_ADD
)
...
...
@@ -19,6 +20,7 @@ function(add_slow_cli_tests TESTS_TO_ADD)
COMMAND
"behave"
-D
"BIN=
${
CMAKE_RUNTIME_OUTPUT_DIRECTORY
}
"
-D GPU=
${
GPU_BACKEND_DEFAULT
}
"features/
${
test
}
"
)
set_property
(
TEST
${
test
}
PROPERTY RUN_SERIAL TRUE
)
set_property
(
TEST
${
test
}
PROPERTY FOLDER
"cli tests"
)
set_property
(
TEST
${
test
}
PROPERTY LABELS
"cmd"
)
endforeach
()
endfunction
(
add_slow_cli_tests TESTS_TO_ADD
)
...
...
This diff is collapsed.
Click to expand it.
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