~thomas-voss/process-cpp/empty-mp-for-landing

« back to all changes in this revision

Viewing changes to tests/CMakeLists.txt

Print issues with the forked child to std::cerr.

Approved by Martin Pitt, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
include_directories(${GMOCK_INCLUDE_DIR} ${GTEST_INCLUDE_DIR})
22
22
set (CMAKE_CXX_FLAGS ${OLD_CMAKE_CXX_FLAGS})
23
23
 
24
 
include_directories(${GTEST_INCLUDE_DIR})
 
24
include_directories(
 
25
  ${CMAKE_SOURCE_DIR}/src
 
26
  ${GTEST_INCLUDE_DIR}
 
27
)
25
28
 
26
29
add_executable(
27
30
  posix_process_test
36
39
add_executable(
37
40
  fork_and_run_test
38
41
  fork_and_run_test.cpp
 
42
 
 
43
  # We include an external source file to prevent from leaking
 
44
  # symbols to the outside world
 
45
  ${CMAKE_SOURCE_DIR}/src/core/posix/backtrace.cpp
39
46
)
40
47
 
41
48
add_executable(