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
dda8c82f
Commit
dda8c82f
authored
5 years ago
by
Wieland Morgenstern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
label apps tests as `apps`, label normalizeInputTest as `gpu`
parent
9b864c09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
CMakeLists.txt
apps/src/tests/CMakeLists.txt
+6
-3
No files found.
apps/src/tests/CMakeLists.txt
View file @
dda8c82f
...
...
@@ -49,12 +49,13 @@ function(add_qt_unit_test_internal test_name sources)
include_lib_vs_headers
(
${
test_name
}
)
include_discovery_vs_headers
(
${
test_name
}
)
target_link_libraries
(
${
test_name
}
PRIVATE
${
VS_GUI
}
${
VS_BASE
}
Qt5::Test Qt5::Concurrent Qt5::Gui Qt5::Multimedia Qt5::OpenGL Qt5::Widgets
)
add_test
(
NAME apps_
${
test_name
}
COMMAND
${
test_name
}
WORKING_DIRECTORY
${
CMAKE_RUNTIME_OUTPUT_DIRECTORY
}
)
add_test
(
NAME
${
test_name
}
COMMAND
${
test_name
}
WORKING_DIRECTORY
${
CMAKE_RUNTIME_OUTPUT_DIRECTORY
}
)
set_tests_properties
(
${
test_name
}
PROPERTIES LABELS
"apps"
)
if
(
WINDOWS
)
# Aweful cmake bug https://cmake.org/pipermail/cmake/2010-December/041176.html
set
(
PATH_STRING
"
${
QT_PATH
}
;$ENV{PATH}"
)
string
(
REPLACE
";"
"
\\
;"
PATH_STRING
"
${
PATH_STRING
}
"
)
set_tests_properties
(
apps_
${
test_name
}
PROPERTIES ENVIRONMENT
"PATH=
${
PATH_STRING
}
"
)
set_tests_properties
(
${
test_name
}
PROPERTIES ENVIRONMENT
"PATH=
${
PATH_STRING
}
"
)
endif
(
WINDOWS
)
endfunction
()
...
...
@@ -67,7 +68,6 @@ if(HAVE_DISPLAY)
add_qt_unit_test
(
audioHelperTest
)
add_qt_unit_test
(
cropInputTest
)
add_qt_unit_test
(
extensionsTest
)
add_qt_unit_test
(
normalizeInputTest
)
add_qt_unit_test
(
panoSizeTest
)
add_qt_unit_test
(
smartEnumTest
)
add_qt_unit_test
(
stitchingWindowTest
)
...
...
@@ -75,6 +75,9 @@ if(HAVE_DISPLAY)
add_qt_unit_test
(
timeConverterTest
)
add_qt_unit_test
(
updateCheckerTest
)
add_qt_unit_test
(
normalizeInputTest
)
set_tests_properties
(
normalizeInputTest PROPERTIES LABELS
"apps gpu"
)
link_target_to_libvideostitch
(
audioHelperTest
)
link_target_to_libvideostitch
(
normalizeInputTest
)
target_link_libraries
(
normalizeInputTest PRIVATE
${
VS_DISCOVERY
}
)
...
...
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