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
113024b0
Commit
113024b0
authored
Apr 25, 2019
by
Wieland Morgenstern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: run tests w/ ctest
parent
37ead7d4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
.travis.yml
.travis.yml
+1
-0
ci.dockerfile
docker/ci.dockerfile
+2
-1
CMakeLists.txt
tests/cli_tests/CMakeLists.txt
+2
-0
No files found.
.travis.yml
View file @
113024b0
...
...
@@ -34,6 +34,7 @@ matrix:
-
cd build
-
cmake -DCREATE_BOX_PACKAGE=OFF -DGPU_BACKEND_CUDA=OFF -DGPU_BACKEND_OPENCL=ON -DMACPORTS=OFF -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
:
...
...
docker/ci.dockerfile
View file @
113024b0
...
...
@@ -6,4 +6,5 @@ WORKDIR stitchEm
RUN echo ${CUDA_SHORT} > cuda.version
WORKDIR build
RUN cmake -DCMAKE_BUILD_TYPE=Release -DRTMP_NVENC=OFF -DCUDA_TARGET_ARCH="50" -G Ninja ..
CMD ninja
RUN ninja
RUN ctest -LE cmd --output-on-failure
tests/cli_tests/CMakeLists.txt
View file @
113024b0
...
...
@@ -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
)
...
...
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