Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
9930f1fc
Commit
9930f1fc
authored
Oct 23, 2015
by
Anonymous Maarten
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CTest: add missing tests + check for unknown tests
parent
2f632318
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
CMakeLists.txt
tests/CMakeLists.txt
+30
-0
No files found.
tests/CMakeLists.txt
View file @
9930f1fc
...
...
@@ -53,6 +53,21 @@ set(tests
test_sockopt_hwm
test_heartbeats
test_poller
test_atomics
test_bind_src_address
test_capabilities
test_ipc_wildcard
test_metadata
test_pair_tipc
test_reqrep_device_tipc
test_reqrep_tipc
test_router_handover
test_router_mandatory_tipc
test_srcfd
test_stream_timeout
test_sub_forward_tipc
test_xpub_manual
test_xpub_welcome_msg
)
if
(
NOT WIN32
)
list
(
APPEND tests
...
...
@@ -65,6 +80,11 @@ if(NOT WIN32)
test_proxy_terminate
test_getsockopt_memset
test_filter_ipc
test_connect_delay_tipc
test_shutdown_stress_tipc
test_stream_exceeds_buffer
test_router_mandatory_hwm
test_term_endpoint_tipc
)
if
(
HAVE_FORK
)
list
(
APPEND tests test_fork
)
...
...
@@ -92,3 +112,13 @@ if(NOT WIN32)
endif
()
endif
()
#Check whether all tests in the current folder are present
file
(
READ
"
${
CMAKE_CURRENT_LIST_FILE
}
"
CURRENT_LIST_FILE_CONTENT
)
file
(
GLOB ALL_TEST_SOURCES
"test_*.cpp"
)
foreach
(
TEST_SOURCE
${
ALL_TEST_SOURCES
}
)
get_filename_component
(
TESTNAME
"
${
TEST_SOURCE
}
"
NAME_WE
)
string
(
REGEX MATCH
"
${
TESTNAME
}
"
MATCH_TESTNAME
"
${
CURRENT_LIST_FILE_CONTENT
}
"
)
if
(
NOT MATCH_TESTNAME
)
message
(
AUTHOR_WARNING
"Test '
${
TESTNAME
}
' is not known to CTest."
)
endif
()
endforeach
()
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