mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-22 03:34:53 +08:00
* reduce the number of jobs on travis * update usage of pip due to changes in Homebrew * update pip and ensure the right one is being used with an alias * force reinstall pip to get `pip` on PATH * use python2 explicitly to run catkin_make * force use of python2 executable by catkin packages * python! * simpler * how to which * Update .travis.yml * make tests and run_tests * test results * disable timer tests on macOS
13 lines
469 B
CMake
13 lines
469 B
CMake
if(UNIX)
|
|
catkin_add_gtest(${PROJECT_NAME}-test unix_serial_tests.cc)
|
|
target_link_libraries(${PROJECT_NAME}-test ${PROJECT_NAME} ${Boost_LIBRARIES})
|
|
if(NOT APPLE)
|
|
target_link_libraries(${PROJECT_NAME}-test util)
|
|
endif()
|
|
|
|
if(NOT APPLE) # these tests are unreliable on macOS
|
|
catkin_add_gtest(${PROJECT_NAME}-test-timer unit/unix_timer_tests.cc)
|
|
target_link_libraries(${PROJECT_NAME}-test-timer ${PROJECT_NAME})
|
|
endif()
|
|
endif()
|