File tree 3 files changed +41
-1
lines changed
3 files changed +41
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ find_package(iceoryx_hoofs_testing REQUIRED)
25
25
set (PROJECT_PREFIX "dust" )
26
26
27
27
file (GLOB_RECURSE MODULETESTS_SRC "${CMAKE_CURRENT_SOURCE_DIR} /moduletests/*.cpp" )
28
+ file (GLOB_RECURSE INTEGRATIONTESTS_SRC "${CMAKE_CURRENT_SOURCE_DIR} /integrationtests/*.cpp" )
28
29
29
30
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} /${PROJECT_PREFIX} /test )
30
31
@@ -44,4 +45,12 @@ iox_add_executable( TARGET ${PROJECT_PREFIX}_moduletests
44
45
FILES ${MODULETESTS_SRC}
45
46
)
46
47
48
+ iox_add_executable( TARGET ${PROJECT_PREFIX} _integrationtests
49
+ INCLUDE_DIRECTORIES .
50
+ LIBS ${TEST_LINK_LIBS}
51
+ LIBS_LINUX acl dl rt
52
+ FILES ${INTEGRATIONTESTS_SRC}
53
+ )
54
+
47
55
target_compile_options (${PROJECT_PREFIX} _moduletests PRIVATE ${TEST_CXX_FLAGS} )
56
+ target_compile_options (${PROJECT_PREFIX} _integrationtests PRIVATE ${TEST_CXX_FLAGS} )
Original file line number Diff line number Diff line change
1
+ // Copyright (c) 2019 by Robert Bosch GmbH. All rights reserved.
2
+ // Copyright (c) 2021 - 2022 by Apex.AI inc. All rights reserved.
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // http://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ //
16
+ // SPDX-License-Identifier: Apache-2.0
17
+
18
+ #include " iceoryx_hoofs/testing/testing_logger.hpp"
19
+
20
+ #include " test.hpp"
21
+
22
+ using namespace ::testing;
23
+
24
+ int main (int argc, char * argv[])
25
+ {
26
+ ::testing::InitGoogleTest (&argc, argv);
27
+
28
+ iox::testing::TestingLogger::init ();
29
+
30
+ return RUN_ALL_TESTS ();
31
+ }
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ if (BUILD_TEST)
19
19
add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /../cmake/googletest ${CMAKE_BINARY_DIR} /dependencies/googletest/prebuild)
20
20
21
21
### create component list
22
- set (COMPONENTS "hoofs" "posh" )
22
+ set (COMPONENTS "hoofs" "dust" " posh" )
23
23
24
24
### possible place for more extensions
25
25
if (BINDING_C)
You can’t perform that action at this time.
0 commit comments